still disabled, but it's mostly working now. serves me right for blindly following the q2 code :P (it be buggy)

This commit is contained in:
Bill Currie 2007-09-21 13:58:07 +00:00 committed by Jeff Teunissen
parent 19f0d23f8b
commit 36f5edb9d3

View file

@ -48,6 +48,8 @@ static __attribute__ ((used)) const char rcsid[] =
#include "world.h"
/* LINE TESTING IN HULLS */
#undef DIST_EPSILON
#define DIST_EPSILON 0
static inline void
calc_impact (trace_t *trace, const vec3_t start, const vec3_t end,
@ -83,7 +85,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
#if 1
static inline void
check_contents (int num, trace_t *trace)
{
@ -99,7 +101,7 @@ check_contents (int num, trace_t *trace)
}
}
#if 1
#if 0
typedef struct {
const vec_t *start;
const vec_t *end;
@ -183,7 +185,7 @@ traceline (int num, float p1f, float p2f, const vec3_t p1, const vec3_t p2,
} else {
side = 0;
frac = 0;
frac2 = 1;
frac2 = 0;
plane = tl->plane;
}