add basic camera controls

This commit is contained in:
2026-01-01 20:58:28 +01:00
parent 127fa1fcb8
commit 550ff3aeec
4 changed files with 20 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ class Camera {
void UpdatePerspective(float a_AspectRatio);
void SetCamPos(const Vec3f& a_NewPos);
const Vec3f& GetCamPos() const;
};
} // namespace render

View File

@@ -17,6 +17,9 @@ class WorldRenderer : public Renderer<shader::WorldShader> {
virtual ~WorldRenderer();
virtual void Render(float a_Lerp) override;
private:
void UpdateControls();
};
} // namespace render