Home
last modified time | relevance | path

Searched refs:emaxs (Results 1 – 4 of 4) sorted by relevance

/external/quake/quake/src/QW/client/
Dmathlib.c187 int BoxOnPlaneSide (vec3_t emins, vec3_t emaxs, mplane_t *p) in BoxOnPlaneSide() argument
199 if (p->dist >= emaxs[p->type]) in BoxOnPlaneSide()
209 dist1 = p->normal[0]*emaxs[0] + p->normal[1]*emaxs[1] + p->normal[2]*emaxs[2]; in BoxOnPlaneSide()
213 dist1 = p->normal[0]*emins[0] + p->normal[1]*emaxs[1] + p->normal[2]*emaxs[2]; in BoxOnPlaneSide()
214 dist2 = p->normal[0]*emaxs[0] + p->normal[1]*emins[1] + p->normal[2]*emins[2]; in BoxOnPlaneSide()
217 dist1 = p->normal[0]*emaxs[0] + p->normal[1]*emins[1] + p->normal[2]*emaxs[2]; in BoxOnPlaneSide()
218 dist2 = p->normal[0]*emins[0] + p->normal[1]*emaxs[1] + p->normal[2]*emins[2]; in BoxOnPlaneSide()
221 dist1 = p->normal[0]*emins[0] + p->normal[1]*emins[1] + p->normal[2]*emaxs[2]; in BoxOnPlaneSide()
222 dist2 = p->normal[0]*emaxs[0] + p->normal[1]*emaxs[1] + p->normal[2]*emins[2]; in BoxOnPlaneSide()
225 dist1 = p->normal[0]*emaxs[0] + p->normal[1]*emaxs[1] + p->normal[2]*emins[2]; in BoxOnPlaneSide()
[all …]
Dmathlib.h71 int BoxOnPlaneSide (vec3_t emins, vec3_t emaxs, struct mplane_s *plane);
77 #define BOX_ON_PLANE_SIDE(emins, emaxs, p) \ argument
84 ((p)->dist >= (emaxs)[(p)->type])?\
91 BoxOnPlaneSide( (emins), (emaxs), (p)))
/external/quake/quake/src/WinQuake/
Dmathlib.cpp189 int BoxOnPlaneSide (vec3_t emins, vec3_t emaxs, mplane_t *p) in BoxOnPlaneSide() argument
201 if (p->dist >= emaxs[p->type]) in BoxOnPlaneSide()
211 dist1 = p->normal[0]*emaxs[0] + p->normal[1]*emaxs[1] + p->normal[2]*emaxs[2]; in BoxOnPlaneSide()
215 dist1 = p->normal[0]*emins[0] + p->normal[1]*emaxs[1] + p->normal[2]*emaxs[2]; in BoxOnPlaneSide()
216 dist2 = p->normal[0]*emaxs[0] + p->normal[1]*emins[1] + p->normal[2]*emins[2]; in BoxOnPlaneSide()
219 dist1 = p->normal[0]*emaxs[0] + p->normal[1]*emins[1] + p->normal[2]*emaxs[2]; in BoxOnPlaneSide()
220 dist2 = p->normal[0]*emins[0] + p->normal[1]*emaxs[1] + p->normal[2]*emins[2]; in BoxOnPlaneSide()
223 dist1 = p->normal[0]*emins[0] + p->normal[1]*emins[1] + p->normal[2]*emaxs[2]; in BoxOnPlaneSide()
224 dist2 = p->normal[0]*emaxs[0] + p->normal[1]*emaxs[1] + p->normal[2]*emins[2]; in BoxOnPlaneSide()
227 dist1 = p->normal[0]*emaxs[0] + p->normal[1]*emaxs[1] + p->normal[2]*emins[2]; in BoxOnPlaneSide()
[all …]
Dmathlib.h70 int BoxOnPlaneSide (vec3_t emins, vec3_t emaxs, struct mplane_s *plane);
75 #define BOX_ON_PLANE_SIDE(emins, emaxs, p) \ argument
82 ((p)->dist >= (emaxs)[(p)->type])?\
89 BoxOnPlaneSide( (emins), (emaxs), (p)))