![]() |
Ankush's Garage
A collection of stuff made by Ankush Roy
|
This is a simple camera thingy for one proj only. More...
#include <Camera.h>
Public Member Functions | |
| Camera (glm::vec3 position=glm::vec3(350.0f, 350.0f, 700.0f), glm::quat orientation=glm::quat(glm::vec3(0.0f))) | |
| glm::mat4 | GetViewMatrix () const |
| void | ProcessEvents () |
Public Attributes | |
| bool | lockMouse = false |
Private Member Functions | |
| void | ProcessKeyboard () |
| void | ProcessMouseMovement (float xoffset, float yoffset) |
| void | ConstrainPitch () |
Private Attributes | |
| glm::vec3 | m_Position |
| glm::quat | Orientation |
| float | MovementSpeed |
| float | MouseSensitivity |
This is a simple camera thingy for one proj only.
|
explicit |
|
private |
|
nodiscard |
| void Camera::ProcessEvents | ( | ) |
|
private |
|
private |
| bool Camera::lockMouse = false |
|
private |
|
private |
|
private |
|
private |