summaryrefslogtreecommitdiff
path: root/src/maths/maths.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/maths/maths.c')
-rw-r--r--src/maths/maths.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/maths/maths.c b/src/maths/maths.c
new file mode 100644
index 0000000..bfe0b5b
--- /dev/null
+++ b/src/maths/maths.c
@@ -0,0 +1,5 @@
+#include "maths.h"
+
+Mat4 mat4_ident() {
+ return (Mat4){ .data = { 1.0, 0., 0., 0., 0., 1., 0., 0., 0., 0., 1., 0., 0., 0., 0., 1.0 } };
+} \ No newline at end of file