[ADD] camera follows the only at the z position

This commit is contained in:
Nathalie Seen
2021-06-04 14:44:41 +02:00
parent 2523e1abfa
commit 86383aace5
5 changed files with 34 additions and 8 deletions

View File

@@ -28,6 +28,8 @@ namespace entities
* @param window: The OpenGL window
*/
void Move(GLFWwindow* window);
void Follow(glm::vec3 follow_position);
inline glm::vec3 GetPosition() const{ return position; }
inline glm::vec3 GetRotation() const{ return rotation; }