Example #1
0
 public void OnFrameMove(Microsoft.DirectX.Direct3D.Device device, double totalTime, float elapsedTime)
 {
     if (airplaneMesh != null)
     {
         airplaneMesh.OnFrameMove(device, totalTime, elapsedTime);
     }
     scenery.OnFrameMove(device, totalTime, elapsedTime);
     birds.OnFrameMove(device, totalTime, elapsedTime);
     cursor3d.OnFrameMove(device, totalTime, elapsedTime);
     selectedObject.OnFrameMove(device, totalTime, elapsedTime);
     transparentObjectManager.OnFrameMove(device, totalTime, elapsedTime);
     toolBox.CursorPosition = cursor3d.Position.ToString();
 }