20 : m_renderer(renderer)
21 , m_cameraOrbitYawDegrees(0.f)
22 , m_cameraOrbitPitchDegrees(0.f)
23 , m_cameraOrbitRadius(100.f)
24 , m_cameraPosition(0.f, 0.f, 100.f)
25 , m_isPanningOrbitCamera(
false)
29 void onMouseMotion(
int deltaX,
int deltaY);
30 void onMouseButtonDown(
int buttonIndex);
31 void onMouseButtonUp(
int buttonIndex);
32 void onMouseWheel(
int scrollAmount);
34 void setIsLocked(
bool locked);
35 void setCameraOrbitLocation(
float yawDegrees,
float pitchDegrees,
float radius);
36 void setCameraOrbitRadius(
float radius);
37 void resetOrientation();
39 void publishCameraViewMatrix();
43 float m_cameraOrbitYawDegrees;
44 float m_cameraOrbitPitchDegrees;
45 float m_cameraOrbitRadius;
47 bool m_isPanningOrbitCamera;
Definition: Renderer.h:18
OpenGL Mathematics (glm.g-truc.net)
Definition: type_mat2x2.hpp:39