]> git.localhorst.tv Git - blank.git/blobdiff - src/world/EntityState.hpp
get rid of angular velocity
[blank.git] / src / world / EntityState.hpp
index 8f74114cb7de0ba2d681b362385698b4d31c77b8..d3e34e55c644e48c5cf11f0c032ffa9e29fd52cb 100644 (file)
@@ -16,16 +16,12 @@ struct EntityState {
        glm::vec3 velocity;
 
        glm::quat orient;
-       glm::vec3 ang_vel;
 
        EntityState();
 
        /// make sure block_pos is within chunk bounds
        void AdjustPosition() noexcept;
 
-       /// do an integration step of dt milliseconds
-       void Update(int dt) noexcept;
-
        /// get a position vector relative to the (0,0,0) chunk
        glm::vec3 AbsolutePosition() const noexcept {
                return glm::vec3(chunk_pos * Chunk::Extent()) + block_pos;