summaryrefslogtreecommitdiff
path: root/tools/platform/vector-math.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/platform/vector-math.h')
-rw-r--r--tools/platform/vector-math.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/platform/vector-math.h b/tools/platform/vector-math.h
new file mode 100644
index 000000000..e35cb46ac
--- /dev/null
+++ b/tools/platform/vector-math.h
@@ -0,0 +1,15 @@
+// vector-math.h
+#pragma once
+
+// We will use the GLM library for our vector math types, just for simplicity.
+
+#include "../../external/glm/glm/glm.hpp"
+#include "../../external/glm/glm/gtc/matrix_transform.hpp"
+#include "../../external/glm/glm/gtc/constants.hpp"
+#include "../../external/glm/glm/gtc/quaternion.hpp"
+
+namespace gfx {
+
+using namespace glm;
+
+} // gfx