diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/maths/maths.c | 4 |
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 |