From 66899f26beb318a784f9a148797a47e8068ef2b3 Mon Sep 17 00:00:00 2001 From: Kevin Shanahan Date: Wed, 20 Mar 2013 11:37:24 +1030 Subject: [PATCH] model: use mplane in trace_t instead of defining a new plane_t Signed-off-by: Kevin Shanahan --- include/model.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/include/model.h b/include/model.h index 1cf2df0..93ac1be 100644 --- a/include/model.h +++ b/include/model.h @@ -572,10 +572,6 @@ void Mod_CreateBoxhull(const vec3_t mins, const vec3_t maxs, int Mod_HullPointContents(const hull_t *hull, int nodenum, const vec3_t point); -typedef struct { - vec3_t normal; - float dist; -} plane_t; typedef struct { qboolean allsolid; // if true, plane is not valid @@ -583,7 +579,7 @@ typedef struct { qboolean inopen, inwater; float fraction; // time completed, 1.0 = didn't hit anything vec3_t endpos; // final position - plane_t plane; // surface normal at impact + mplane_t plane; // surface normal at impact } trace_t; qboolean Mod_TraceHull(const hull_t *hull, int nodenum,