6 #include <gtc/type_ptr.hpp>
7 #include <gtc/matrix_transform.hpp>
48 void input(SDL_Event &incomingEvent);
void moveCameraAlongZ(float translateZ)
Definition: Camera.cpp:263
bool up
Definition: Camera.h:28
void rotateCameraAlongZ(float rotationZ)
Definition: Camera.cpp:310
bool rotateLeft
Definition: Camera.h:28
glm::mat4 getView()
Definition: Camera.cpp:321
void rotateCameraAlongX(float rotationX)
Definition: Camera.cpp:288
glm::mat4 projection
Definition: Camera.h:20
void rotateCamera(glm::vec3 rotation)
Definition: Camera.cpp:273
bool rotateDown
Definition: Camera.h:28
bool down
Definition: Camera.h:28
void moveCameraAlongX(float translateX)
Definition: Camera.cpp:243
bool right
Definition: Camera.h:28
void moveCameraAlongY(float translateY)
Definition: Camera.cpp:253
bool rollLeft
Definition: Camera.h:28
glm::vec3 getOrientation()
Definition: Camera.cpp:339
float rotateSpeed
Definition: Camera.h:26
Creates an Camera object.
Definition: Camera.h:14
void setPosition(glm::vec3 position)
Definition: Camera.cpp:348
void moveCamera(glm::vec3 translation)
Definition: Camera.cpp:233
glm::vec3 orientation
Definition: Camera.h:22
glm::mat4 view
Definition: Camera.h:18
Camera()
Definition: Camera.cpp:6
bool backwards
Definition: Camera.h:28
bool rollRight
Definition: Camera.h:28
bool rotateRight
Definition: Camera.h:28
void input(SDL_Event &incomingEvent)
Definition: Camera.cpp:37
void rotateCameraAlongY(float rotationY)
Definition: Camera.cpp:299
void update(float dt)
Definition: Camera.cpp:175
~Camera()
Definition: Camera.cpp:30
float moveSpeed
Definition: Camera.h:24
glm::vec2 mouse
Definition: Camera.h:31
bool forwards
Definition: Camera.h:28
bool rotateUp
Definition: Camera.h:28
bool left
Definition: Camera.h:28
glm::mat4 getProjection()
Definition: Camera.cpp:330