blob: e620955fa9b79fa5b4bd7c89732b107cc029dee0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#pragma once
#include <glm/mat4x4.hpp>
#include <glm/vec3.hpp>
struct Mutation {
using Matrix = glm::mat4;
Matrix getMatrix() const;
Matrix getDeformationMatrix() const;
Matrix getLocationMatrix() const;
float relativeLevelOfDetail() const;
glm::vec3 position {};
glm::vec3 rotation {};
glm::vec3 scale {1};
};
|