• Home
  • Raw
  • Download

Lines Matching refs:hull

93 int PM_HullPointContents (hull_t *hull, int num, vec3_t p)  in PM_HullPointContents()  argument
101 if (num < hull->firstclipnode || num > hull->lastclipnode) in PM_HullPointContents()
104 node = hull->clipnodes + num; in PM_HullPointContents()
105 plane = hull->planes + node->planenum; in PM_HullPointContents()
131 hull_t *hull; in PM_PointContents() local
134 hull = &pmove.physents[0].model->hulls[0]; in PM_PointContents()
136 num = hull->firstclipnode; in PM_PointContents()
140 if (num < hull->firstclipnode || num > hull->lastclipnode) in PM_PointContents()
143 node = hull->clipnodes + num; in PM_PointContents()
144 plane = hull->planes + node->planenum; in PM_PointContents()
176 qboolean PM_RecursiveHullCheck (hull_t *hull, int num, float p1f, float p2f, vec3_t p1, vec3_t p2, … in PM_RecursiveHullCheck() argument
203 if (num < hull->firstclipnode || num > hull->lastclipnode) in PM_RecursiveHullCheck()
209 node = hull->clipnodes + num; in PM_RecursiveHullCheck()
210 plane = hull->planes + node->planenum; in PM_RecursiveHullCheck()
225 return PM_RecursiveHullCheck (hull, node->children[0], p1f, p2f, p1, p2, trace); in PM_RecursiveHullCheck()
227 return PM_RecursiveHullCheck (hull, node->children[1], p1f, p2f, p1, p2, trace); in PM_RecursiveHullCheck()
230 return PM_RecursiveHullCheck (hull, node->children[0], p1f, p2f, p1, p2, trace); in PM_RecursiveHullCheck()
232 return PM_RecursiveHullCheck (hull, node->children[1], p1f, p2f, p1, p2, trace); in PM_RecursiveHullCheck()
252 if (!PM_RecursiveHullCheck (hull, node->children[side], p1f, midf, p1, mid, trace) ) in PM_RecursiveHullCheck()
264 if (PM_HullPointContents (hull, node->children[side^1], mid) in PM_RecursiveHullCheck()
267 return PM_RecursiveHullCheck (hull, node->children[side^1], midf, p2f, mid, p2, trace); in PM_RecursiveHullCheck()
286 while (PM_HullPointContents (hull, hull->firstclipnode, mid) in PM_RecursiveHullCheck()
321 hull_t *hull; in PM_TestPlayerPosition() local
328 hull = &pmove.physents[i].model->hulls[1]; in PM_TestPlayerPosition()
333 hull = PM_HullForBox (mins, maxs); in PM_TestPlayerPosition()
338 if (PM_HullPointContents (hull, hull->firstclipnode, test) == CONTENTS_SOLID) in PM_TestPlayerPosition()
355 hull_t *hull; in PM_PlayerMove() local
371 hull = &pmove.physents[i].model->hulls[1]; in PM_PlayerMove()
376 hull = PM_HullForBox (mins, maxs); in PM_PlayerMove()
393 PM_RecursiveHullCheck (hull, hull->firstclipnode, 0, 1, start_l, end_l, &trace); in PM_PlayerMove()