summaryrefslogtreecommitdiff
path: root/src/keyboard_movement_controller.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/keyboard_movement_controller.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keyboard_movement_controller.cpp b/src/keyboard_movement_controller.cpp
index 6782709..325693e 100644
--- a/src/keyboard_movement_controller.cpp
+++ b/src/keyboard_movement_controller.cpp
@@ -4,9 +4,9 @@
#include <glm/geometric.hpp>
#include <limits>
-namespace xe {
+namespace app {
-void KeyboardMovementController::moveInPlaneXZ(GLFWwindow* window, float dt, XeGameObject& gameObject) {
+void KeyboardMovementController::moveInPlaneXZ(GLFWwindow* window, float dt, xe::XeGameObject& gameObject) {
glm::vec3 rotate{0};
if(glfwGetKey(window, keys.lookRight) == GLFW_PRESS) rotate.y += 1.f;
if(glfwGetKey(window, keys.lookLeft) == GLFW_PRESS) rotate.y -= 1.f;