A class for storing and controlling a camera's position and view direction within a scene.
More...
#include <Camera.h>
A class for storing and controlling a camera's position and view direction within a scene.
Definition at line 19 of file Camera.h.
◆ Camera() [1/2]
◆ Camera() [2/2]
| Camera |
( |
Eigen::Vector3f |
up, |
|
|
float |
sensitivity, |
|
|
float |
speed |
|
) |
| |
|
inline |
◆ update()
| void update |
( |
Events |
e, |
|
|
float |
delta_time |
|
) |
| |
|
inline |
Updates the camera using the events specified. Use this method when using keyboard and mouse input.
- Parameters
-
| e | The keyboard and mouse events |
| delta_time | The time taken for last frame to execute fully |
Definition at line 53 of file Camera.h.
◆ facing
A normalised vector representing the direction that the camera is facing.
Definition at line 40 of file Camera.h.
◆ pitch
◆ position
The current position of the camera in world space.
Definition at line 35 of file Camera.h.
◆ sensitivity
◆ speed
◆ sprint_multiplier
| float sprint_multiplier = 3.0f |
◆ yaw
The documentation for this class was generated from the following file:
- C:/Repos/dissertation/FractalGeometryRenderer/FractalGeometryRenderer/source/include/Camera.h