Parcourir la source

[rlgl] Fix incorrect matrix multiplication order in `rlMultMatrixf` (#3935)

pull/3963/head
bohonghuang il y a 9 mois
committed by GitHub
Parent
révision
23385231c6
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: B5690EEEBB952194
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      src/rlgl.h

+ 1
- 1
src/rlgl.h Voir le fichier

@ -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(n">mat, *RLGL.State.currentMatrix);
}
// Multiply the current matrix by a perspective matrix generated by parameters

Chargement…
Annuler
Enregistrer