blob: 078f5d3025c6f0592e18afda6bb0606cf6bfbc9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;
};
|