32:767592024ec5 | 33:4c41bfe2ec6e |
---|---|
29 #include <QString> | 29 #include <QString> |
30 #include <QStringList> | 30 #include <QStringList> |
31 #include <QVariant> | 31 #include <QVariant> |
32 #include <QVector> | 32 #include <QVector> |
33 #include <QVector3D> | 33 #include <QVector3D> |
34 #include <glm/glm.hpp> | |
34 | 35 |
35 using GLRotationMatrix = QMatrix4x4; | 36 using GLRotationMatrix = QMatrix4x4; |
36 | 37 |
37 enum Axis | 38 enum Axis |
38 { | 39 { |
81 template<typename T, int N> | 82 template<typename T, int N> |
82 constexpr int countof(T(&)[N]) | 83 constexpr int countof(T(&)[N]) |
83 { | 84 { |
84 return N; | 85 return N; |
85 } | 86 } |
87 | |
88 Q_DECLARE_METATYPE(glm::vec3) | |
89 Q_DECLARE_METATYPE(glm::mat4) |