فهرست منبع

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 سال پیش
والد
کامیت
c37d2d448d
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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;