light: move TRACE_HIT_ constants to trace.c

This commit is contained in:
Eric Wasylishen 2016-05-11 16:30:26 -06:00
parent 7bd93cce37
commit d0480049e8
2 changed files with 7 additions and 7 deletions

View File

@ -34,13 +34,6 @@ extern "C" {
#define ON_EPSILON 0.1
#define ANGLE_EPSILON 0.001
#define TRACE_HIT_NONE 0
#define TRACE_HIT_SOLID (1 << 0)
#define TRACE_HIT_WATER (1 << 1)
#define TRACE_HIT_SLIME (1 << 2)
#define TRACE_HIT_LAVA (1 << 3)
#define TRACE_HIT_SKY (1 << 4)
typedef struct {
vec3_t normal;
vec_t dist;

View File

@ -19,6 +19,13 @@
#include <light/light.h>
#define TRACE_HIT_NONE 0
#define TRACE_HIT_SOLID (1 << 0)
#define TRACE_HIT_WATER (1 << 1)
#define TRACE_HIT_SLIME (1 << 2)
#define TRACE_HIT_LAVA (1 << 3)
#define TRACE_HIT_SKY (1 << 4)
typedef struct traceinfo_s {
vec3_t point;
const bsp2_dface_t *face;