Add Camera::IsLeftHanded()

A method that returns true if the camera's coordinate system is left-handed.
This commit is contained in:
Eryn Wells 2014-08-03 20:10:27 -07:00
parent a7020545c1
commit c2a4372467
2 changed files with 28 additions and 3 deletions

View file

@ -35,6 +35,13 @@ struct Camera
const Vector3& GetUp() const;
void SetUp(const Vector3& up);
/**
* Get the camera's handedness. Left handed is the default.
*
* @returns `true` if the camera is set up for left-handed coordinates.
*/
bool IsLeftHanded() const;
/**
* Pan and tilt the camera towards the given point.
*