3#include "editor/camera/movable/MovableCamera.h"
4#include "common/maths/Vec.h"
14 float m_Rotation = 0.0f;
18 float m_Left, m_Right, m_Bottom, m_Top;
21 float m_ZoomLevel = 1.0f;
23 void updateProjectionMatrix();
24 void updateViewMatrix();
27 float m_ScrollSpeed = 1;
34 void SetRotation(
float rotation);
36 float GetRotation()
const {
return m_Rotation; }
38 void SetPerspective(
float left,
float right,
float bottom,
float top);
44 void SetViewportSize(
int width,
int height)
override;
46 void MoveForward()
override;
47 void MoveBackward()
override;
48 void MoveLeft()
override;
49 void MoveRight()
override;
50 void ProcessMouseScroll(
float scrollOffset)
override;
51 void ProcessMouseMovement(
float xOffset,
float yOffset,
bool constrainPitch)
override;
A class for the MovableCamera's.
A class for the OrthoCamera's.