ref: gl: make GL_FrustumSetPlanme private to the frustum implementation

This commit is contained in:
Alibek Omarov 2025-01-18 08:34:25 +03:00
parent 5fa777578b
commit ea338adc46
2 changed files with 1 additions and 2 deletions

View file

@ -16,7 +16,7 @@ GNU General Public License for more details.
#include "gl_local.h"
#include "xash3d_mathlib.h"
void GL_FrustumSetPlane( gl_frustum_t *out, int side, const vec3_t vecNormal, float flDist )
static void GL_FrustumSetPlane( gl_frustum_t *out, int side, const vec3_t vecNormal, float flDist )
{
Assert( side >= 0 && side < FRUSTUM_PLANES );

View file

@ -33,7 +33,6 @@ typedef struct gl_frustum_s
void GL_FrustumInitProj( gl_frustum_t *out, float flZNear, float flZFar, float flFovX, float flFovY );
void GL_FrustumInitOrtho( gl_frustum_t *out, float xLeft, float xRight, float yTop, float yBottom, float flZNear, float flZFar );
void GL_FrustumSetPlane( gl_frustum_t *out, int side, const vec3_t vecNormal, float flDist );
// cull methods
qboolean GL_FrustumCullBox( gl_frustum_t *out, const vec3_t mins, const vec3_t maxs, int userClipFlags );