コード例 #1
0
ファイル: Presenter.cs プロジェクト: poculeka/Renderer
 public void SwitchCamera()
 {
     if (this.secondCamera == null) return;
     var tmp = this.camera;
     this.camera = this.secondCamera;
     this.secondCamera = tmp;
 }
コード例 #2
0
ファイル: Presenter.cs プロジェクト: poculeka/Renderer
 public void CreateSecondCamera(Vector<double> cameraPosition, Vector<double> cameraTarget, Vector<double> upVector, PhysicalData pd)
 {
     this.secondCamera = new Camera(cameraPosition, cameraTarget, upVector, pd);
 }
コード例 #3
0
ファイル: Presenter.cs プロジェクト: poculeka/Renderer
 public Presenter(Camera camera)
 {
     this.camera = camera;
 }