public void Reset() { MouseSensitivity = DefaultMouseSensitivity; KeyboardSensitivity = DefaultKeyboardSensitivity; Speed = DefaultSpeed; ViewMatrix = new ViewMatrix(); ProjectionMatrix = new ProjectionMatrix(ProjectionMatrix.AspectRatio, ProjectionMatrix.FarPlane, ProjectionMatrix.FieldOfView); RaiseCameraChangedEvent(); }
public Vector3 GetForward() { return(ViewMatrix.GetCameraVectors()._forwardVector); }
public Vector3 GetLeft() { return(ViewMatrix.GetCameraVectors()._leftVector); }
public Vector3 GetUp() { return(ViewMatrix.GetCameraVectors()._upVector); }