示例#1
0
 public AbstractTool(double width, double height)
 {
     this.Width      = (int)width;
     this.Height     = (int)height;
     this.ball       = new ArcBall(width * 0.9, height * 0.9);
     this.ScaleRatio = (width > height) ? height : width;
 }
示例#2
0
 public ToolMovePoint(double width, double height, TriMesh mesh)
     : base(width, height, mesh)
 {
     movingBall = new ArcBall(200, 200);
 }
示例#3
0
 public ToolMoveSinglePoint(double width, double height, TriMesh mesh)
     : base(width, height, mesh)
 {
     movingBall = new ArcBall(200, 200);
 }
示例#4
0
        public   AbstractTool(double width,double height)
        {

            this.Width =(int) width;
            this.Height =(int) height;
            this.ball = new ArcBall(width * 0.9, height * 0.9);
            this.ScaleRatio = (width > height) ? height : width;
       
        }