Przeglądaj źródła

Corrected issue with matrices

Matrix stack system should be reviewed but, in the meantime,
currentMatrix should be reseted in order of 3d to work
Ray 7 lat temu
rodzic
commit
c37d2d448d
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/rlgl.c

+ 1 - 1
src/rlgl.c

@@ -414,7 +414,7 @@ void rlPushMatrix(void)
     }
 
     stack[stackCounter] = *currentMatrix;
-//    rlLoadIdentity();
+    rlLoadIdentity();       // TODO: Review matrix stack logic!
     stackCounter++;
 
     if (currentMatrixMode == RL_MODELVIEW) useTempBuffer = true;