Skip to content

Commit ee3be57

Browse files
committed
Update raymath.h
1 parent 87d4926 commit ee3be57

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/raymath.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2573,9 +2573,9 @@ RMAPI Matrix MatrixCompose(Vector3 translation, Quaternion rotation, Vector3 sca
25732573

25742574
// Set result matrix output
25752575
Matrix result = {
2576-
right.x, up.x, forward.x, position.x,
2577-
right.y, up.y, forward.y, position.y,
2578-
right.z, up.z, forward.z, position.z,
2576+
right.x, up.x, forward.x, translation.x,
2577+
right.y, up.y, forward.y, translation.y,
2578+
right.z, up.z, forward.z, translation.z,
25792579
0.0f, 0.0f, 0.0f, 1.0f
25802580
};
25812581

0 commit comments

Comments
 (0)