Example #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;
 }
Example #2
0
 public ToolMovePoint(double width, double height, TriMesh mesh)
     : base(width, height, mesh)
 {
     movingBall = new ArcBall(200, 200);
 }
Example #3
0
 public ToolMoveSinglePoint(double width, double height, TriMesh mesh)
     : base(width, height, mesh)
 {
     movingBall = new ArcBall(200, 200);
 }
Example #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;
       
        }