summaryrefslogtreecommitdiff
path: root/lib/location.cpp
blob: 732dd6d636dc9792fdf5c5278b435055d9d48d17 (plain)
1
2
3
4
5
6
7
8
9
#include "location.h"
#include "maths.h"
#include <glm/gtx/transform.hpp>

glm::mat4
Location::getTransform() const
{
	return glm::translate(pos) * rotate_ypr(rot);
}