diff --git a/include/QF/mathlib.h b/include/QF/mathlib.h index e657522c6..746b40499 100644 --- a/include/QF/mathlib.h +++ b/include/QF/mathlib.h @@ -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 diff --git a/libs/util/mathlib.c b/libs/util/mathlib.c index 38fa2fe2a..74b08e408 100644 --- a/libs/util/mathlib.c +++ b/libs/util/mathlib.c @@ -39,8 +39,7 @@ static const char rcsid[] = #include -#define IMPLEMENT_R_CullBox -#define IMPLEMENT_R_CullSphere +#define IMPLEMENT_R_Cull #include "QF/mathlib.h" #include "QF/qtypes.h"