Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
Math.hpp
1#include <glm/glm.hpp>
2#include <glm/gtx/quaternion.hpp>
3
4namespace Grindstone::Math {
5 using Int = int;
6 using Int2 = glm::tvec2<int, glm::highp>;
7 using Int3 = glm::tvec3<int, glm::highp>;
8 using Int4 = glm::tvec4<int, glm::highp>;
9
10 using Uint = unsigned int;
11 using Uint2 = glm::tvec2<unsigned int, glm::highp>;
12 using Uint3 = glm::tvec3<unsigned int, glm::highp>;
13 using Uint4 = glm::tvec4<unsigned int, glm::highp>;
14
15 using Double = double;
16 using Double2 = glm::tvec2<double, glm::highp>;
17 using Double3 = glm::tvec3<double, glm::highp>;
18 using Double4 = glm::tvec4<double, glm::highp>;
19
20 using Float = float;
21 using Float2 = glm::vec2;
22 using Float3 = glm::vec3;
23 using Float4 = glm::vec4;
24
25 using Matrix3 = glm::mat3;
26 using Matrix4 = glm::mat4;
27
28 using Quaternion = glm::quat;
29}
Definition Quaternion.cs:6
Definition FloatVectors.cs:7
Definition FloatVectors.cs:108
Definition FloatVectors.cs:226