summaryrefslogtreecommitdiff
path: root/src/maths.c
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-10-18 00:23:30 +1100
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-10-18 00:23:30 +1100
commit5234133f2d55dc7f24eaa63b86e3952decaaba91 (patch)
tree01b4732ff6b1686f62cedcab5afe48092094784d /src/maths.c
parentdf81a840a5276c35df5f35d55610f1bf31487153 (diff)
chore: format
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();