Work but still broken

This commit is contained in:
Antoine Pilote
2023-07-13 15:57:54 -04:00
parent 8d6b877f7b
commit 44597fbe43
6 changed files with 67 additions and 31 deletions

View File

@@ -148,7 +148,8 @@ namespace Nuake
Direction.x = cos(glm::radians(Yaw)) * cos(glm::radians(Pitch));
Direction.y = sin(glm::radians(Pitch));
Direction.z = sin(glm::radians(Yaw)) * cos(glm::radians(Pitch));
Direction = glm::normalize(Direction);
SetDirection(glm::normalize(Direction));
Right = glm::normalize(glm::cross(Up, Direction));
}
else if (Input::IsMouseButtonDown(2))