summaryrefslogtreecommitdiff
path: root/src/maths/maths.c
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-13 20:29:27 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-13 20:29:27 +1000
commit567d384b698151e287e31140709c93f1b92e6db4 (patch)
treee00975124d3f002a8aaa22e85475d913c6950346 /src/maths/maths.c
parent13949ca02bcf9fcdfcc48ea7949f617553a260b6 (diff)
loading joints and animations
Diffstat (limited to 'src/maths/maths.c')
-rw-r--r--src/maths/maths.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/maths/maths.c b/src/maths/maths.c
index 1c5a91a..19052fe 100644
--- a/src/maths/maths.c
+++ b/src/maths/maths.c
@@ -26,7 +26,7 @@ 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 transform_to_mat(Transform *tf) {
+Mat4 transform_to_mat(Transform* tf) {
Mat4 scale = mat4_scale(tf->scale);
Mat4 rotation = mat4_rotation(tf->rotation);
Mat4 translation = mat4_translation(tf->position);