瀏覽代碼

[rlgl] Rename near, far variables (#4039)

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

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

@ -590,7 +590,7 @@ RLAPI void rlMultMatrixf(const float *matf); // Multiply the current
RLAPI void rlFrustum(double left, double right, double bottom, double top, double znear, double zfar);
RLAPI void rlOrtho(double left, double right, double bottom, double top, double znear, double zfar);
RLAPI void rlViewport(int x, int y, int width, int height); // Set the viewport area
RLAPI void rlSetClipPlanes(double near, double far); // Set clip planes distances
RLAPI void rlSetClipPlanes(double nearPlane, double farPlane); // Set clip planes distances
RLAPI double rlGetCullDistanceNear(void); // Get cull plane distance near
RLAPI double rlGetCullDistanceFar(void); // Get cull plane distance far
@ -1371,10 +1371,10 @@ void rlViewport(int x, int y, int width, int height)
}
// Set clip planes distances
void rlSetClipPlanes(double near, double far)
void rlSetClipPlanes(double nearPlane, double farPlane)
{
rlCullDistanceNear = near;
rlCullDistanceFar = far;
rlCullDistanceNear = nearPlane;
rlCullDistanceFar = farPlane;
}
// Get cull plane distance near

Loading…
取消
儲存