1 #ifndef BLANK_ENTITY_HPP_
2 #define BLANK_ENTITY_HPP_
4 #include "geometry.hpp"
16 const glm::vec3 &Velocity() const { return velocity; }
17 void Velocity(const glm::vec3 &);
19 const glm::vec3 &Position() const { return position; }
20 void Position(const glm::vec3 &);
21 void Move(const glm::vec3 &delta);
23 const glm::tvec3<int> ChunkCoords() const { return chunk; }
25 const glm::mat4 &Rotation() const { return rotation; }
26 void Rotation(const glm::mat4 &);
28 glm::mat4 Transform(const glm::tvec3<int> &chunk_offset) const;
29 Ray Aim(const glm::tvec3<int> &chunk_offset) const;
36 glm::tvec3<int> chunk;