diff options
| author | bohonghuang <[email protected]> | 2024-05-06 02:19:25 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-05-05 20:19:25 +0200 |
| commit | 23385231c6c5ed6e9ace97e7305d3b7002c62171 (patch) | |
| tree | 1e048f91f45389b081a8d58e42b34a63350e02ec /src | |
| parent | 34d00d52177230cb3434240c263a0529aa0b4891 (diff) | |
| download | raylib-23385231c6c5ed6e9ace97e7305d3b7002c62171.tar.gz raylib-23385231c6c5ed6e9ace97e7305d3b7002c62171.zip | |
[rlgl] Fix incorrect matrix multiplication order in `rlMultMatrixf` (#3935)
Diffstat (limited to 'src')
| -rw-r--r-- | src/rlgl.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1296,7 +1296,7 @@ void rlMultMatrixf(const float *matf) matf[2], matf[6], matf[10], matf[14], 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 |
