1 2 3 4 5 6 7 8 9
#include "location.hpp" #include "maths.h" #include <glm/gtx/transform.hpp> glm::mat4 Location::getTransform() const { return glm::translate(pos) * rotate_ypr(rot); }