]> git.localhorst.tv Git - blank.git/blobdiff - src/ui/PlayerController.hpp
glm backwards compatibility
[blank.git] / src / ui / PlayerController.hpp
index 9cf0bca465eb3550af7c009dfd4049f73b1c2679..69a15e9846ef7e7b42bd72f9b281682184eb015a 100644 (file)
@@ -1,8 +1,7 @@
 #ifndef BLANK_UI_PLAYERCONTROLLER_HPP_
 #define BLANK_UI_PLAYERCONTROLLER_HPP_
 
-#include <glm/glm.hpp>
-
+#include "../graphics/glm.hpp"
 #include "../world/EntityCollision.hpp"
 #include "../world/EntityController.hpp"
 #include "../world/WorldCollision.hpp"
@@ -35,8 +34,6 @@ public:
        void SetMovement(const glm::vec3 &) noexcept;
        const glm::vec3 &GetMovement() const noexcept { return move_dir; }
 
-       glm::vec3 ControlForce(const Entity &, const EntityState &) const override;
-
        /// turn the controlled entity's head by given pitch and yaw deltas
        void TurnHead(float pitch, float yaw) noexcept;