diff --git a/libs/models/testclip.c b/libs/models/testclip.c index 0e19c7c40..4ad8d934a 100644 --- a/libs/models/testclip.c +++ b/libs/models/testclip.c @@ -5,6 +5,7 @@ #undef DIST_EPSILON #define DIST_EPSILON 0 +#define ENABLE_BOXCLIP #include "trace.c" dclipnode_t clipnodes1[] = { diff --git a/libs/models/trace.c b/libs/models/trace.c index 5642f463a..25aaf3e01 100644 --- a/libs/models/trace.c +++ b/libs/models/trace.c @@ -83,7 +83,7 @@ calc_impact (trace_t *trace, const vec3_t start, const vec3_t end, VectorSubtract (end, start, dist); VectorMultAdd (start, frac, dist, trace->endpos); } -#if 0 +#ifdef ENABLE_BOXCLIP typedef struct { mplane_t *plane; int side;