示例#1
0
 public void SwitchCamera()
 {
     if (this.secondCamera == null) return;
     var tmp = this.camera;
     this.camera = this.secondCamera;
     this.secondCamera = tmp;
 }
示例#2
0
 public void CreateSecondCamera(Vector<double> cameraPosition, Vector<double> cameraTarget, Vector<double> upVector, PhysicalData pd)
 {
     this.secondCamera = new Camera(cameraPosition, cameraTarget, upVector, pd);
 }
示例#3
0
 public Presenter(Camera camera)
 {
     this.camera = camera;
 }