summaryrefslogtreecommitdiff
path: root/src/maths.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/maths.c')
-rw-r--r--src/maths.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/maths.c b/src/maths.c
index 40223c6..fbfcd72 100644
--- a/src/maths.c
+++ b/src/maths.c
@@ -4,9 +4,7 @@ vec3 vec3_create(f32 x, f32 y, f32 z) { return (vec3){ x, y, z }; }
vec4 vec4_create(f32 x, f32 y, f32 z, f32 w) { return (vec4){ x, y, z, w }; }
-mat4 mat4_ident() {
- return (mat4){ .data = { 1.0, 0., 0., 0., 0., 1., 0., 0., 0., 0., 1., 0., 0., 0., 0., 1.0 } };
-}
+mat4 mat4_ident() { return (mat4){ .data = { 1.0, 0., 0., 0., 0., 1., 0., 0., 0., 0., 1., 0., 0., 0., 0., 1.0 } }; }
mat4 mat4_mult(mat4 lhs, mat4 rhs) {
mat4 out_matrix = mat4_ident();