Explorar el Código

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 hace 7 años
padre
commit
c37d2d448d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;