fix: jump fails in certain cases

This commit is contained in:
2026-03-14 18:00:02 +08:00
parent cf423c7db4
commit 7012e5f9fe
4 changed files with 6 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ private:
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_player_pos = glm::vec3(0.0f, 15.0f, 0.0f);
glm::vec3 m_front = glm::vec3(0, 0, -1);
glm::vec3 m_right;
MoveState m_move_state;