feat: smooth camera movement

This commit is contained in:
2026-03-08 12:09:17 +08:00
parent e18b8b9439
commit 674d2277f9
2 changed files with 8 additions and 16 deletions

View File

@@ -22,7 +22,7 @@ private:
float m_sensitivity = 0.05f;
float m_speed = 0.1f;
float m_speed = 10.0f;
// player is tow block tall, the pos is the lower pos
glm::vec3 m_player_pos = glm::vec3(0.0f, 5.0f, 0.0f);
glm::vec3 m_front = glm::vec3(0, 0, -1);