void setScreenProjectionPlane(double aPlane)
Set the screen projection plane.
double m_screen_aspect_ratio
Screen aspect ratio.
void setNear(double aPlane)
Set the near clipping plane.
bool m_stereo_currently_in_use
Flag set to true when the stereo is in used.
void setFieldOfViewY(double aFOVY)
Set the field of view along the y-axis.
double getFar() const
Accessor on the far clipping plane.
bool isActive() const
Accessor on the stereo flag.
bool m_matrices_are_up_to_date
Flag set to true when the matrices are up-to-date.
double getFieldOfViewY() const
Accessor on the field of view along the y-axis.
const MATRIX4 & getLeftEyeProjectionMatrix()
Accessor on the projection matrix corresponding to the left eye.
double getNear() const
Accessor on the near clipping plane.
double m_screen_projection_plane
Screen projection plane.
void update()
Compute the projection matrices.
void setIntraocularDistance(double aDistance)
Set the intraocular distance.
MATRIX4 m_left_eye_projection_matrix
The projection matrix corresponding to the left eye.
double m_intraocular_distance
Intraocular distance.
void setFar(double aPlane)
Set the far clipping plane.
MATRIX4 m_right_eye_projection_matrix
The projection matrix corresponding to the right eye.
double m_near
Near clipping plane.
double m_far
Far clipping plane.
double m_fovy
Field of view along the y-axis.
const MATRIX4 & getRightEyeProjectionMatrix()
Accessor on the projection matrix corresponding to the right eye.
void setScreenAspectRatio(double aRatio)
Set the screen aspect ratio.
double getIntraocularDistance() const
Accessor on the intraocular distance.