Creates a Camera object.
More...
#include <Camera.h>
◆ Camera()
◆ ~Camera()
◆ getOrientation()
Returns the Camera orientation.
- Returns
- The Camera orientation.
◆ getProjection()
Returns the Camera projection matrix.
- Returns
- The Camera projection matrix.
◆ getView()
Returns the Camera view matrix.
- Returns
- The Camera view matrix.
◆ moveCamera()
Moves the Camera using the translation.
- Parameters
-
translation | The translation. |
◆ moveCameraAlongX()
void Camera::moveCameraAlongX |
( |
float |
translateX | ) |
|
Moves the Camera along the X axis.
- Parameters
-
translateX | The translation along the X axis. |
◆ moveCameraAlongY()
void Camera::moveCameraAlongY |
( |
float |
translateY | ) |
|
Moves the Camera along the Y axis.
- Parameters
-
translateY | The translation along the Y axis. |
◆ moveCameraAlongZ()
void Camera::moveCameraAlongZ |
( |
float |
translateZ | ) |
|
Moves the Camera along the Z axis.
- Parameters
-
translateZ | The translation along the Z axis. |
◆ rotateCamera()
Rotates the Camera using the rotation.
- Parameters
-
◆ rotateCameraAlongX()
void Camera::rotateCameraAlongX |
( |
float |
rotationX | ) |
|
Rotate the Camera along the X axis.
- Parameters
-
rotationX | The rotation along the X axis. |
◆ rotateCameraAlongY()
void Camera::rotateCameraAlongY |
( |
float |
rotationY | ) |
|
Rotate the Camera along the Y axis.
- Parameters
-
rotationY | The rotation along the Y axis. |
◆ rotateCameraAlongZ()
void Camera::rotateCameraAlongZ |
( |
float |
rotationZ | ) |
|
Rotate the Camera along the Z axis.
- Parameters
-
rotationZ | The rotation along the Z axis. |
◆ setPosition()
Sets the position of the Camera.
- Parameters
-
position | The new position. |
◆ orientation
The Orientation of the Camera.
◆ projection
◆ view
The documentation for this class was generated from the following files: