11 class OrthographicCameraController
14 OrthographicCameraController(
float aspectRatio,
bool rotation =
false);
17 void OnEvent(
Event& e);
22 float GetZoomLevel()
const {
return m_ZoomLevel; }
23 void SetZoomLevel(
float level) { m_ZoomLevel = level; }
28 float m_AspectRatio = 1.7f;
29 float m_ZoomLevel = 1.0f;
34 glm::vec3 m_CameraPosition = { 0.0f, 0.0f, 0.0f };
35 float m_CameraRotation = 0.0f;
36 float m_CameraTranslationSpeed = 5.0f;
37 float m_CameraRotationSpeed = 180.0f;