Only need one define for R_Cull*

This commit is contained in:
Ragnvald Maartmann-Moe IV 2002-08-23 20:46:19 +00:00
parent 5e9330ca21
commit d757c10f07
2 changed files with 3 additions and 4 deletions

View file

@ -135,7 +135,7 @@ void RotatePointAroundVector (vec3_t dst, const vec3_t axis,
extern mplane_t frustum[4];
#ifndef IMPLEMENT_R_CullBox
#ifndef IMPLEMENT_R_Cull
extern inline
#endif
qboolean
@ -149,7 +149,7 @@ R_CullBox (const vec3_t mins, const vec3_t maxs)
return false;
}
#ifndef IMPLEMENT_R_CullSphere
#ifndef IMPLEMENT_R_Cull
extern inline
#endif
qboolean

View file

@ -39,8 +39,7 @@ static const char rcsid[] =
#include <math.h>
#define IMPLEMENT_R_CullBox
#define IMPLEMENT_R_CullSphere
#define IMPLEMENT_R_Cull
#include "QF/mathlib.h"
#include "QF/qtypes.h"