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