1 #ifndef BLANK_ENTITY_HPP_
2 #define BLANK_ENTITY_HPP_
6 #include "geometry.hpp"
18 const glm::vec3 &Velocity() const { return velocity; }
19 void Velocity(const glm::vec3 &);
21 const Block::Pos &Position() const { return position; }
22 void Position(const Block::Pos &);
23 void Move(const glm::vec3 &delta);
25 const Chunk::Pos ChunkCoords() const { return chunk; }
27 const glm::mat4 &Rotation() const { return rotation; }
28 void Rotation(const glm::mat4 &);
30 glm::mat4 Transform(const Chunk::Pos &chunk_offset) const;
31 Ray Aim(const Chunk::Pos &chunk_offset) const;