瀏覽代碼

[rlgl] Fix incorrect matrix multiplication order in `rlMultMatrixf` (#3935)

pull/3963/head
bohonghuang 9 月之前
committed by GitHub
父節點
當前提交
23385231c6
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: B5690EEEBB952194
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/rlgl.h

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

@ -1296,7 +1296,7 @@ void rlMultMatrixf(const float *matf)
matf[2], matf[6], matf[10], matf[14],
matf[3], matf[7], matf[11], matf[15] };
*RLGL.State.currentMatrix = rlMatrixMultiply(*RLGL.State.currentMatrix, mat);
*RLGL.State.currentMatrix = rlMatrixMultiply(n">mat, *RLGL.State.currentMatrix);
}
// Multiply the current matrix by a perspective matrix generated by parameters

Loading…
取消
儲存