mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-04 17:06:27 +00:00
[rlgl] Rename near, far variables (#4039)
This commit is contained in:
@@ -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 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 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 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 rlGetCullDistanceNear(void); // Get cull plane distance near
|
||||||
RLAPI double rlGetCullDistanceFar(void); // Get cull plane distance far
|
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
|
// Set clip planes distances
|
||||||
void rlSetClipPlanes(double near, double far)
|
void rlSetClipPlanes(double nearPlane, double farPlane)
|
||||||
{
|
{
|
||||||
rlCullDistanceNear = near;
|
rlCullDistanceNear = nearPlane;
|
||||||
rlCullDistanceFar = far;
|
rlCullDistanceFar = farPlane;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get cull plane distance near
|
// Get cull plane distance near
|
||||||
|
Reference in New Issue
Block a user