approximative cam movement
This commit is contained in:
@@ -26,7 +26,7 @@ struct Camera {
|
||||
class Renderer {
|
||||
public:
|
||||
static constexpr float m_AnimationSpeed = 2.0f;
|
||||
static constexpr float m_MouseSensitivity = 100.0f;
|
||||
static constexpr float m_MouseSensitivity = 200.0f;
|
||||
|
||||
struct Model {
|
||||
GL::VertexArray* vao;
|
||||
@@ -55,6 +55,7 @@ public:
|
||||
void RenderModel(const Model& model);
|
||||
|
||||
void SetZoom(float zoom);
|
||||
void SetCamAngularMovement(const Vec2f& mov);
|
||||
void SetCamMovement(const Vec2f& mov);
|
||||
void SetCamLook(const Vec2f& worldPos);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user