mirror of
https://github.com/raysan5/raylib.git
synced 2025-11-12 13:28:49 +00:00
Update raymath.h
This commit is contained in:
@@ -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.x, up.x, forward.x, translation.x,
|
||||||
right.y, up.y, forward.y, position.y,
|
right.y, up.y, forward.y, translation.y,
|
||||||
right.z, up.z, forward.z, position.z,
|
right.z, up.z, forward.z, translation.z,
|
||||||
0.0f, 0.0f, 0.0f, 1.0f
|
0.0f, 0.0f, 0.0f, 1.0f
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user