From 272cc9563315566061bbbd7078f76c76a3484e4b Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sun, 11 Aug 2024 23:40:13 +1000 Subject: removing example targets from xmake.lua and fix identation --- src/maths/maths.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 -- cgit v1.2.3-70-g09d2