Add Camera::IsLeftHanded()
A method that returns true if the camera's coordinate system is left-handed.
This commit is contained in:
parent
a7020545c1
commit
c2a4372467
2 changed files with 28 additions and 3 deletions
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue