mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-06 03:18:14 +00:00
[rlgl] Fix incorrect matrix multiplication order in rlMultMatrixf
(#3935)
This commit is contained in:
@@ -1296,7 +1296,7 @@ void rlMultMatrixf(const float *matf)
|
|||||||
matf[2], matf[6], matf[10], matf[14],
|
matf[2], matf[6], matf[10], matf[14],
|
||||||
matf[3], matf[7], matf[11], matf[15] };
|
matf[3], matf[7], matf[11], matf[15] };
|
||||||
|
|
||||||
*RLGL.State.currentMatrix = rlMatrixMultiply(*RLGL.State.currentMatrix, mat);
|
*RLGL.State.currentMatrix = rlMatrixMultiply(mat, *RLGL.State.currentMatrix);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Multiply the current matrix by a perspective matrix generated by parameters
|
// Multiply the current matrix by a perspective matrix generated by parameters
|
||||||
|
Reference in New Issue
Block a user