8 #include <Eigen/Geometry> 13 enum Camera_Movement {
41 GLfloat m_movement_speed;
42 GLfloat m_mouse_sensitivity;
52 Camera(Vector3Gf position = Vector3Gf(0.0f, 0.0f, 0.0f), Vector3Gf up = Vector3Gf(0.0f, 1.0f, 0.0f), GLfloat yaw = -90.0f, GLfloat pitch = 0.0f);
84 void UpdateCameraVectors();
Camera(Vector3Gf position=Vector3Gf(0.0f, 0.0f, 0.0f), Vector3Gf up=Vector3Gf(0.0f, 1.0f, 0.0f), GLfloat yaw=-90.0f, GLfloat pitch=0.0f)
Definition: camera.cpp:18
Eigen::Matrix< GLfloat, 4, 4 > GetViewMatrix()
Definition: camera.cpp:27
void ProcessMouseMovement(GLfloat xoffset, GLfloat yoffset, GLboolean constrainPitch=true)
Definition: camera.cpp:46
void ProcessMouseScroll(GLfloat yoffset)
Definition: camera.cpp:67
A Camera is used to view a scene from a particular vantage point.
Definition: camera.h:28
void ProcessKeyboard(Camera_Movement direction, GLfloat deltaTime)
Definition: camera.cpp:33