summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-11 23:40:13 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-11 23:40:13 +1000
commit272cc9563315566061bbbd7078f76c76a3484e4b (patch)
tree3264c6acef2e3d3a7dab1c806233062395a5b5f3 /src
parent3a151b1d1f99b59dfd6d98c1e7520b48b57d6f5e (diff)
removing example targets from xmake.lua and fix identation
Diffstat (limited to 'src')
-rw-r--r--src/maths/maths.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/maths/maths.c b/src/maths/maths.c
index aedee76..1c5a91a 100644
--- a/src/maths/maths.c
+++ b/src/maths/maths.c
@@ -30,6 +30,6 @@ Mat4 transform_to_mat(Transform *tf) {
Mat4 scale = mat4_scale(tf->scale);
Mat4 rotation = mat4_rotation(tf->rotation);
Mat4 translation = mat4_translation(tf->position);
- return mat4_mult(translation, mat4_mult(rotation, scale));
- // return mat4_mult(mat4_mult(scale, rotation), translation);
+ // return mat4_mult(translation, mat4_mult(rotation, scale));
+ return mat4_mult(mat4_mult(scale, rotation), translation);
} \ No newline at end of file