浏览代码

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

pull/1520/head
Jeffery Myers 4 年前
committed by GitHub
父节点
当前提交
b76dc06297
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/rlgl.h

+ 1
- 1
src/rlgl.h 查看文件

@ -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);

正在加载...
取消
保存