Browse Source

Update raymath.h

pull/5325/head
Ray 1 month ago
parent
commit
ee3be5799a
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/raymath.h

+ 3
- 3
src/raymath.h View File

@ -2573,9 +2573,9 @@ RMAPI Matrix MatrixCompose(Vector3 translation, Quaternion rotation, Vector3 sca
// Set result matrix output // Set result matrix output
Matrix result = { 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 0.0f, 0.0f, 0.0f, 1.0f
}; };

Loading…
Cancel
Save