Пример #1
0
        void manipulater_Rotated(object sender, ArcBallManipulater.Rotation e)
        {
            SceneNodeBase node = this.scene.RootNode;

            node.RotationAngle = e.angleInDegree;
            node.RotationAxis  = e.axis;
        }
Пример #2
0
 void thisManipulater_Rotated(object sender, ArcBallManipulater.Rotation e)
 {
     {
         SceneNodeBase node = this.groupNode;
         if (node != null)
         {
             node.RotationAngle = e.angleInDegree;
             node.RotationAxis  = e.axis;
         }
     }
 }
Пример #3
0
 void manipulater_MouseMove(object sender, ArcBallManipulater.Rotation e)
 {
     this.linesNode.MouseMove(e.X, e.Y, this.modelCanvas.Width, this.modelCanvas.Height);
     this.fanNode.MouseMove(e.X, e.Y, this.modelCanvas.Width, this.modelCanvas.Height);
 }