From 567d384b698151e287e31140709c93f1b92e6db4 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Tue, 13 Aug 2024 20:29:27 +1000 Subject: loading joints and animations --- src/maths/maths.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/maths/maths.h') diff --git a/src/maths/maths.h b/src/maths/maths.h index fc23517..e77b81a 100644 --- a/src/maths/maths.h +++ b/src/maths/maths.h @@ -178,9 +178,9 @@ static Mat4 mat4_rotation(Quat rotation) { static Mat4 mat4_mult(Mat4 lhs, Mat4 rhs) { Mat4 out_matrix = mat4_ident(); - const f32 *m1_ptr = lhs.data; - const f32 *m2_ptr = rhs.data; - f32 *dst_ptr = out_matrix.data; + const f32* m1_ptr = lhs.data; + const f32* m2_ptr = rhs.data; + f32* dst_ptr = out_matrix.data; for (i32 i = 0; i < 4; ++i) { for (i32 j = 0; j < 4; ++j) { @@ -311,7 +311,7 @@ static Transform transform_create(Vec3 pos, Quat rot, Vec3 scale) { return (Transform){ .position = pos, .rotation = rot, .scale = scale, .is_dirty = true }; } -Mat4 transform_to_mat(Transform *tf); +Mat4 transform_to_mat(Transform* tf); // --- Sizing asserts -- cgit v1.2.3-70-g09d2