mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-27 05:28:30 +00:00
Corrected issue with matrices
Matrix stack system should be reviewed but, in the meantime, currentMatrix should be reseted in order of 3d to work
This commit is contained in:
@@ -414,7 +414,7 @@ void rlPushMatrix(void)
|
||||
}
|
||||
|
||||
stack[stackCounter] = *currentMatrix;
|
||||
// rlLoadIdentity();
|
||||
rlLoadIdentity(); // TODO: Review matrix stack logic!
|
||||
stackCounter++;
|
||||
|
||||
if (currentMatrixMode == RL_MODELVIEW) useTempBuffer = true;
|
||||
|
Reference in New Issue
Block a user