ref: gl: make GL_FrustumSetPlanme private to the frustum implementation
This commit is contained in:
parent
5fa777578b
commit
ea338adc46
2 changed files with 1 additions and 2 deletions
|
@ -16,7 +16,7 @@ GNU General Public License for more details.
|
||||||
#include "gl_local.h"
|
#include "gl_local.h"
|
||||||
#include "xash3d_mathlib.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 );
|
Assert( side >= 0 && side < FRUSTUM_PLANES );
|
||||||
|
|
||||||
|
|
|
@ -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_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_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
|
// cull methods
|
||||||
qboolean GL_FrustumCullBox( gl_frustum_t *out, const vec3_t mins, const vec3_t maxs, int userClipFlags );
|
qboolean GL_FrustumCullBox( gl_frustum_t *out, const vec3_t mins, const vec3_t maxs, int userClipFlags );
|
||||||
|
|
Loading…
Add table
Reference in a new issue