diff --git a/include/light/light.h b/include/light/light.h index f833cb43..acd5a41b 100644 --- a/include/light/light.h +++ b/include/light/light.h @@ -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; diff --git a/light/trace.c b/light/trace.c index 9f9f560c..3ebfe538 100644 --- a/light/trace.c +++ b/light/trace.c @@ -19,6 +19,13 @@ #include +#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;