]> git.localhorst.tv Git - blank.git/blobdiff - src/app/FPSController.cpp
allow multiple meshes per entity
[blank.git] / src / app / FPSController.cpp
index 48e39dc8ba49bac7fc6071a9444da50a0bbed044..7f8c2c197b955c40e437b40f8911c69dd2b89158 100644 (file)
@@ -42,7 +42,7 @@ void FPSController::RotateYaw(float delta) noexcept {
 
 
 void FPSController::Update(int dt) noexcept {
-       entity.Rotation(glm::quat(glm::vec3(pitch, yaw, 0.0f)));
+       entity.Orientation(glm::quat(glm::vec3(pitch, yaw, 0.0f)));
        entity.Velocity(glm::rotateY(velocity, yaw));
 }