Quellcode durchsuchen

It's top-bottom not bottom-top in GL space. (#1517)

pull/1520/head
Jeffery Myers vor 4 Jahren
committed von GitHub
Ursprung
Commit
b76dc06297
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden GPG-Schlüssel-ID: 4AEE18F83AFDEB23
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. +1
    -1
      src/rlgl.h

+ 1
- 1
src/rlgl.h Datei anzeigen

@ -1100,7 +1100,7 @@ void rlFrustum(double left, double right, double bottom, double top, double znea
// Multiply the current matrix by an orthographic matrix generated by parameters
void rlOrtho(double left, double right, double bottom, double top, double znear, double zfar)
{
if (((right - left) > 0) && ((bottom - top) > 0))
if (((right - left) > 0) && ((top - bottom) > 0))
{
Matrix matOrtho = MatrixOrtho(left, right, bottom, top, znear, zfar);
*RLGL.State.currentMatrix = MatrixMultiply(*RLGL.State.currentMatrix, matOrtho);

Laden…
Abbrechen
Speichern