diff options
Diffstat (limited to 'src/maths/maths.h')
-rw-r--r-- | src/maths/maths.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/maths/maths.h b/src/maths/maths.h index 9b3813c..d235ca8 100644 --- a/src/maths/maths.h +++ b/src/maths/maths.h @@ -143,9 +143,7 @@ c_static_inline Quat quat_slerp(Quat a, Quat b, f32 percentage) { // --- Matrix Implementations -c_static_inline 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 mat4_ident(); c_static_inline Mat4 mat4_translation(Vec3 position) { Mat4 out_matrix = mat4_ident(); |