diff options
Diffstat (limited to 'lib/location.h')
-rw-r--r-- | lib/location.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/location.h b/lib/location.h new file mode 100644 index 0000000..078f5d3 --- /dev/null +++ b/lib/location.h @@ -0,0 +1,14 @@ +#pragma once + +#include <glm/mat4x4.hpp> +#include <glm/vec3.hpp> + +class Location { +public: + explicit Location(glm::vec3 pos = {}, glm::vec3 rot = {}) : pos {pos}, rot {rot} { } + + glm::mat4 getTransform() const; + + glm::vec3 pos; + glm::vec3 rot; +}; |