Searched refs:emins (Results 1 – 4 of 4) sorted by relevance
/external/quake/quake/src/QW/client/ |
D | mathlib.c | 187 int BoxOnPlaneSide (vec3_t emins, vec3_t emaxs, mplane_t *p) in BoxOnPlaneSide() argument 197 if (p->dist <= emins[p->type]) in BoxOnPlaneSide() 210 dist2 = p->normal[0]*emins[0] + p->normal[1]*emins[1] + p->normal[2]*emins[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 …]
|
D | mathlib.h | 71 int BoxOnPlaneSide (vec3_t emins, vec3_t emaxs, struct mplane_s *plane); 77 #define BOX_ON_PLANE_SIDE(emins, emaxs, p) \ argument 80 ((p)->dist <= (emins)[(p)->type])? \ 91 BoxOnPlaneSide( (emins), (emaxs), (p)))
|
/external/quake/quake/src/WinQuake/ |
D | mathlib.cpp | 189 int BoxOnPlaneSide (vec3_t emins, vec3_t emaxs, mplane_t *p) in BoxOnPlaneSide() argument 199 if (p->dist <= emins[p->type]) in BoxOnPlaneSide() 212 dist2 = p->normal[0]*emins[0] + p->normal[1]*emins[1] + p->normal[2]*emins[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 …]
|
D | mathlib.h | 70 int BoxOnPlaneSide (vec3_t emins, vec3_t emaxs, struct mplane_s *plane); 75 #define BOX_ON_PLANE_SIDE(emins, emaxs, p) \ argument 78 ((p)->dist <= (emins)[(p)->type])? \ 89 BoxOnPlaneSide( (emins), (emaxs), (p)))
|