mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
defines and ifdefs for R_CullSphere, just like R_CullBox.
This commit is contained in:
parent
aa85219dc4
commit
6e8bd2aeb0
2 changed files with 5 additions and 1 deletions
|
@ -149,7 +149,10 @@ R_CullBox (const vec3_t mins, const vec3_t maxs)
|
|||
return false;
|
||||
}
|
||||
|
||||
extern inline qboolean
|
||||
#ifndef IMPLEMENT_R_CullSphere
|
||||
extern inline
|
||||
#endif
|
||||
qboolean
|
||||
R_CullSphere (const vec3_t origin, const float radius)
|
||||
{
|
||||
int i;
|
||||
|
|
|
@ -40,6 +40,7 @@ static const char rcsid[] =
|
|||
#include <math.h>
|
||||
|
||||
#define IMPLEMENT_R_CullBox
|
||||
#define IMPLEMENT_R_CullSphere
|
||||
|
||||
#include "QF/mathlib.h"
|
||||
#include "QF/qtypes.h"
|
||||
|
|
Loading…
Reference in a new issue