summaryrefslogtreecommitdiff
path: root/lib/location.cpp
blob: bff27a2e24ba981a5eb3d7ac918c0d7bc9885d9e (plain)
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);
}