From ee3be5799a1858be98d6afe7e0aedfcea975eaa3 Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 2 Nov 2025 19:59:46 +0100 Subject: [PATCH] Update raymath.h --- src/raymath.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/raymath.h b/src/raymath.h index 1e1565426..32dfd2b0a 100644 --- a/src/raymath.h +++ b/src/raymath.h @@ -2573,9 +2573,9 @@ RMAPI Matrix MatrixCompose(Vector3 translation, Quaternion rotation, Vector3 sca // Set result matrix output Matrix result = { - right.x, up.x, forward.x, position.x, - right.y, up.y, forward.y, position.y, - right.z, up.z, forward.z, position.z, + right.x, up.x, forward.x, translation.x, + right.y, up.y, forward.y, translation.y, + right.z, up.z, forward.z, translation.z, 0.0f, 0.0f, 0.0f, 1.0f };