aboutsummaryrefslogtreecommitdiffstats
path: root/common/vecmat.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-17 23:21:37 -0800
committerChris Robinson <[email protected]>2018-11-17 23:21:37 -0800
commite79d9bdd1a6aa6d6d9852bf5a380a8cd01cbc315 (patch)
treed0c7be1efda1c2c72f035d5b8be5e942d70b8908 /common/vecmat.cpp
parentfa3c34268dd7d9bc380ecd19aedb28924d29b295 (diff)
Move the vector and matrix declarations to a separate header
Diffstat (limited to 'common/vecmat.cpp')
-rw-r--r--common/vecmat.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/common/vecmat.cpp b/common/vecmat.cpp
new file mode 100644
index 00000000..ccb9ad9f
--- /dev/null
+++ b/common/vecmat.cpp
@@ -0,0 +1,12 @@
+
+#include "config.h"
+
+#include "vecmat.h"
+
+
+const aluMatrixf aluMatrixf::Identity{{
+ { 1.0f, 0.0f, 0.0f, 0.0f },
+ { 0.0f, 1.0f, 0.0f, 0.0f },
+ { 0.0f, 0.0f, 1.0f, 0.0f },
+ { 0.0f, 0.0f, 0.0f, 1.0f },
+}};