/external/quake/quake/src/QW/server/ |
D | world.c | 36 float *mins, *maxs; // size of the moving object member 105 hull_t *SV_HullForBox (vec3_t mins, vec3_t maxs) in SV_HullForBox() argument 107 box_planes[0].dist = maxs[0]; in SV_HullForBox() 109 box_planes[2].dist = maxs[1]; in SV_HullForBox() 111 box_planes[4].dist = maxs[2]; in SV_HullForBox() 129 hull_t *SV_HullForEntity (edict_t *ent, vec3_t mins, vec3_t maxs, vec3_t offset) in SV_HullForEntity() argument 147 VectorSubtract (maxs, mins, size); in SV_HullForEntity() 162 VectorSubtract (ent->v.mins, maxs, hullmins); in SV_HullForEntity() 163 VectorSubtract (ent->v.maxs, mins, hullmaxs); in SV_HullForEntity() 191 areanode_t *SV_CreateAreaNode (int depth, vec3_t mins, vec3_t maxs) in SV_CreateAreaNode() argument [all …]
|
D | sv_move.c | 39 vec3_t mins, maxs, start, stop; in SV_CheckBottom() local 45 VectorAdd (ent->v.origin, ent->v.maxs, maxs); in SV_CheckBottom() 54 start[0] = x ? maxs[0] : mins[0]; in SV_CheckBottom() 55 start[1] = y ? maxs[1] : mins[1]; in SV_CheckBottom() 71 start[0] = stop[0] = (mins[0] + maxs[0])*0.5; in SV_CheckBottom() 72 start[1] = stop[1] = (mins[1] + maxs[1])*0.5; in SV_CheckBottom() 84 start[0] = stop[0] = x ? maxs[0] : mins[0]; in SV_CheckBottom() 85 start[1] = stop[1] = y ? maxs[1] : mins[1]; in SV_CheckBottom() 138 trace = SV_Move (ent->v.origin, ent->v.mins, ent->v.maxs, neworg, false, ent); in SV_movestep() 163 trace = SV_Move (neworg, ent->v.mins, ent->v.maxs, end, false, ent); in SV_movestep() [all …]
|
D | sv_phys.c | 266 trace = SV_Move (ent->v.origin, ent->v.mins, ent->v.maxs, end, false, ent); in SV_FlyMove() 405 trace = SV_Move (ent->v.origin, ent->v.mins, ent->v.maxs, end, MOVE_MISSILE, ent); in SV_PushEntity() 408 trace = SV_Move (ent->v.origin, ent->v.mins, ent->v.maxs, end, MOVE_NOMONSTERS, ent); in SV_PushEntity() 410 trace = SV_Move (ent->v.origin, ent->v.mins, ent->v.maxs, end, MOVE_NORMAL, ent); in SV_PushEntity() 432 vec3_t mins, maxs; in SV_Push() local 441 maxs[i] = pusher->v.absmax[i] + move[i]; in SV_Push() 473 if ( check->v.absmin[0] >= maxs[0] in SV_Push() 474 || check->v.absmin[1] >= maxs[1] in SV_Push() 475 || check->v.absmin[2] >= maxs[2] in SV_Push() 509 if (check->v.mins[0] == check->v.maxs[0]) in SV_Push() [all …]
|
D | model.c | 524 out->maxs[j] = LittleFloat (in->maxs[j]) + 1; in Mod_LoadSubmodels() 635 float mins[2], maxs[2], val; in CalcSurfaceExtents() local 642 maxs[0] = maxs[1] = -99999; in CalcSurfaceExtents() 662 if (val > maxs[j]) in CalcSurfaceExtents() 663 maxs[j] = val; in CalcSurfaceExtents() 670 bmaxs[i] = ceil(maxs[i]/16); in CalcSurfaceExtents() 789 out->minmaxs[3+j] = LittleShort (in->maxs[j]); in Mod_LoadNodes() 836 out->minmaxs[3+j] = LittleShort (in->maxs[j]); in Mod_LoadLeafs() 1120 VectorCopy (bm->maxs, mod->maxs); in Mod_LoadBrushModel()
|
D | pr_cmds.c | 149 VectorCopy (max, e->v.maxs); in PF_setsize() 189 VectorCopy (mod->maxs, e->v.maxs); in PF_setmodel() 190 VectorSubtract (mod->maxs, mod->mins, e->v.size); in PF_setmodel() 784 eorg[j] = org[j] - (ent->v.origin[j] + (ent->v.mins[j] + ent->v.maxs[j])*0.5); in PF_findradius() 1024 trace = SV_Move (ent->v.origin, ent->v.mins, ent->v.maxs, end, false, ent); in PF_droptofloor() 1214 + 0.5*(check->v.mins[j] + check->v.maxs[j]); in PF_aim()
|
D | world.h | 79 trace_t SV_Move (vec3_t start, vec3_t mins, vec3_t maxs, vec3_t end, int type, edict_t *passedict);
|
D | progdefs.h | 99 vec3_t maxs; member
|
/external/quake/quake/src/WinQuake/ |
D | world.cpp | 36 float *mins, *maxs; // size of the moving object member 105 hull_t *SV_HullForBox (vec3_t mins, vec3_t maxs) in SV_HullForBox() argument 107 box_planes[0].dist = maxs[0]; in SV_HullForBox() 109 box_planes[2].dist = maxs[1]; in SV_HullForBox() 111 box_planes[4].dist = maxs[2]; in SV_HullForBox() 129 hull_t *SV_HullForEntity (edict_t *ent, vec3_t mins, vec3_t maxs, vec3_t offset) in SV_HullForEntity() argument 147 VectorSubtract (maxs, mins, size); in SV_HullForEntity() 162 VectorSubtract (ent->u.v.mins, maxs, hullmins); in SV_HullForEntity() 163 VectorSubtract (ent->u.v.maxs, mins, hullmaxs); in SV_HullForEntity() 202 areanode_t *SV_CreateAreaNode (int depth, vec3_t mins, vec3_t maxs) in SV_CreateAreaNode() argument [all …]
|
D | sv_move.cpp | 39 vec3_t mins, maxs, start, stop; in SV_CheckBottom() local 45 VectorAdd (ent->u.v.origin, ent->u.v.maxs, maxs); in SV_CheckBottom() 54 start[0] = x ? maxs[0] : mins[0]; in SV_CheckBottom() 55 start[1] = y ? maxs[1] : mins[1]; in SV_CheckBottom() 71 start[0] = stop[0] = (mins[0] + maxs[0])*0.5; in SV_CheckBottom() 72 start[1] = stop[1] = (mins[1] + maxs[1])*0.5; in SV_CheckBottom() 84 start[0] = stop[0] = x ? maxs[0] : mins[0]; in SV_CheckBottom() 85 start[1] = stop[1] = y ? maxs[1] : mins[1]; in SV_CheckBottom() 138 trace = SV_Move (ent->u.v.origin, ent->u.v.mins, ent->u.v.maxs, neworg, false, ent); in SV_movestep() 163 trace = SV_Move (neworg, ent->u.v.mins, ent->u.v.maxs, end, false, ent); in SV_movestep() [all …]
|
D | gl_model.cpp | 594 out->maxs[j] = LittleFloat (in->maxs[j]) + 1; in Mod_LoadSubmodels() 707 float mins[2], maxs[2], val; in CalcSurfaceExtents() local 714 maxs[0] = maxs[1] = -99999; in CalcSurfaceExtents() 734 if (val > maxs[j]) in CalcSurfaceExtents() 735 maxs[j] = val; in CalcSurfaceExtents() 742 bmaxs[i] = (int) ceilf(maxs[i]/16); in CalcSurfaceExtents() 866 out->minmaxs[3+j] = LittleShort (in->maxs[j]); in Mod_LoadNodes() 913 out->minmaxs[3+j] = LittleShort (in->maxs[j]); in Mod_LoadLeafs() 1129 float RadiusFromBounds (vec3_t mins, vec3_t maxs) in RadiusFromBounds() argument 1136 corner[i] = fabs(mins[i]) > fabs(maxs[i]) ? fabs(mins[i]) : fabs(maxs[i]); in RadiusFromBounds() [all …]
|
D | model.cpp | 603 out->maxs[j] = LittleFloat (in->maxs[j]) + 1; in Mod_LoadSubmodels() 716 float mins[2], maxs[2], val; in CalcSurfaceExtents() local 723 maxs[0] = maxs[1] = -99999; in CalcSurfaceExtents() 743 if (val > maxs[j]) in CalcSurfaceExtents() 744 maxs[j] = val; in CalcSurfaceExtents() 751 bmaxs[i] = ceil(maxs[i]/16); in CalcSurfaceExtents() 870 out->minmaxs[3+j] = LittleShort (in->maxs[j]); in Mod_LoadNodes() 917 out->minmaxs[3+j] = LittleShort (in->maxs[j]); in Mod_LoadLeafs() 1125 float RadiusFromBounds (vec3_t mins, vec3_t maxs) in RadiusFromBounds() argument 1132 corner[i] = fabs(mins[i]) > fabs(maxs[i]) ? fabs(mins[i]) : fabs(maxs[i]); in RadiusFromBounds() [all …]
|
D | sv_phys.cpp | 260 trace = SV_Move (ent->u.v.origin, ent->u.v.mins, ent->u.v.maxs, end, false, ent); in SV_FlyMove() 416 trace = SV_Move (ent->u.v.origin, ent->u.v.mins, ent->u.v.maxs, end, MOVE_MISSILE, ent); in SV_PushEntity() 419 trace = SV_Move (ent->u.v.origin, ent->u.v.mins, ent->u.v.maxs, end, MOVE_NOMONSTERS, ent); in SV_PushEntity() 421 trace = SV_Move (ent->u.v.origin, ent->u.v.mins, ent->u.v.maxs, end, MOVE_NORMAL, ent); in SV_PushEntity() 443 vec3_t mins, maxs, move; in SV_PushMove() local 459 maxs[i] = pusher->u.v.absmax[i] + move[i]; in SV_PushMove() 490 if ( check->u.v.absmin[0] >= maxs[0] in SV_PushMove() 491 || check->u.v.absmin[1] >= maxs[1] in SV_PushMove() 492 || check->u.v.absmin[2] >= maxs[2] in SV_PushMove() 521 if (check->u.v.mins[0] == check->u.v.maxs[0]) in SV_PushMove() [all …]
|
D | bspfile.h | 84 float mins[3], maxs[3]; member 160 short maxs[3]; member 219 short maxs[3]; member
|
D | gl_warp.cpp | 36 void BoundPoly (int numverts, float *verts, vec3_t mins, vec3_t maxs) in BoundPoly() argument 42 maxs[0] = maxs[1] = maxs[2] = -9999; in BoundPoly() 49 if (*v > maxs[j]) in BoundPoly() 50 maxs[j] = *v; in BoundPoly() 57 vec3_t mins, maxs; in SubdividePolygon() local 70 BoundPoly (numverts, verts, mins, maxs); in SubdividePolygon() 74 m = (mins[i] + maxs[i]) * 0.5; in SubdividePolygon() 76 if (maxs[i] - m < 8) in SubdividePolygon()
|
D | world.h | 67 trace_t SV_Move (vec3_t start, vec3_t mins, vec3_t maxs, vec3_t end, int type, edict_t *passedict);
|
D | gl_rmain.cpp | 111 qboolean R_CullBox (vec3_t mins, vec3_t maxs) in R_CullBox() argument 116 if (BoxOnPlaneSide (mins, maxs, &frustum[i]) == 2) in R_CullBox() 594 vec3_t mins, maxs; in R_DrawAliasModel() local 604 VectorAdd (currententity->origin, clmodel->maxs, maxs); in R_DrawAliasModel() 606 if (R_CullBox (mins, maxs)) in R_DrawAliasModel()
|
/external/quake/quake/src/QW/client/ |
D | pmovetst.c | 74 hull_t *PM_HullForBox (vec3_t mins, vec3_t maxs) in PM_HullForBox() argument 76 box_planes[0].dist = maxs[0]; in PM_HullForBox() 78 box_planes[2].dist = maxs[1]; in PM_HullForBox() 80 box_planes[4].dist = maxs[2]; in PM_HullForBox() 320 vec3_t mins, maxs, test; in PM_TestPlayerPosition() local 332 VectorSubtract (pe->maxs, player_mins, maxs); in PM_TestPlayerPosition() 333 hull = PM_HullForBox (mins, maxs); in PM_TestPlayerPosition() 358 vec3_t mins, maxs; in PM_PlayerMove() local 375 VectorSubtract (pe->maxs, player_mins, maxs); in PM_PlayerMove() 376 hull = PM_HullForBox (mins, maxs); in PM_PlayerMove()
|
D | gl_model.c | 594 out->maxs[j] = LittleFloat (in->maxs[j]) + 1; in Mod_LoadSubmodels() 707 float mins[2], maxs[2], val; in CalcSurfaceExtents() local 714 maxs[0] = maxs[1] = -99999; in CalcSurfaceExtents() 734 if (val > maxs[j]) in CalcSurfaceExtents() 735 maxs[j] = val; in CalcSurfaceExtents() 742 bmaxs[i] = ceil(maxs[i]/16); in CalcSurfaceExtents() 866 out->minmaxs[3+j] = LittleShort (in->maxs[j]); in Mod_LoadNodes() 917 out->minmaxs[3+j] = LittleShort (in->maxs[j]); in Mod_LoadLeafs() 1138 float RadiusFromBounds (vec3_t mins, vec3_t maxs) in RadiusFromBounds() argument 1145 corner[i] = fabs(mins[i]) > fabs(maxs[i]) ? fabs(mins[i]) : fabs(maxs[i]); in RadiusFromBounds() [all …]
|
D | model.c | 585 out->maxs[j] = LittleFloat (in->maxs[j]) + 1; in Mod_LoadSubmodels() 698 float mins[2], maxs[2], val; in CalcSurfaceExtents() local 705 maxs[0] = maxs[1] = -99999; in CalcSurfaceExtents() 725 if (val > maxs[j]) in CalcSurfaceExtents() 726 maxs[j] = val; in CalcSurfaceExtents() 733 bmaxs[i] = ceil(maxs[i]/16); in CalcSurfaceExtents() 852 out->minmaxs[3+j] = LittleShort (in->maxs[j]); in Mod_LoadNodes() 899 out->minmaxs[3+j] = LittleShort (in->maxs[j]); in Mod_LoadLeafs() 1107 float RadiusFromBounds (vec3_t mins, vec3_t maxs) in RadiusFromBounds() argument 1114 corner[i] = fabs(mins[i]) > fabs(maxs[i]) ? fabs(mins[i]) : fabs(maxs[i]); in RadiusFromBounds() [all …]
|
D | bspfile.h | 81 float mins[3], maxs[3]; member 147 short maxs[3]; member 206 short maxs[3]; member
|
D | gl_warp.c | 36 void BoundPoly (int numverts, float *verts, vec3_t mins, vec3_t maxs) in BoundPoly() argument 42 maxs[0] = maxs[1] = maxs[2] = -9999; in BoundPoly() 49 if (*v > maxs[j]) in BoundPoly() 50 maxs[j] = *v; in BoundPoly() 57 vec3_t mins, maxs; in SubdividePolygon() local 70 BoundPoly (numverts, verts, mins, maxs); in SubdividePolygon() 74 m = (mins[i] + maxs[i]) * 0.5; in SubdividePolygon() 76 if (maxs[i] - m < 8) in SubdividePolygon()
|
D | gl_rmain.c | 111 qboolean R_CullBox (vec3_t mins, vec3_t maxs) in R_CullBox() argument 116 if (BoxOnPlaneSide (mins, maxs, &frustum[i]) == 2) in R_CullBox() 505 vec3_t mins, maxs; in R_DrawAliasModel() local 513 VectorAdd (currententity->origin, clmodel->maxs, maxs); in R_DrawAliasModel() 515 if (R_CullBox (mins, maxs)) in R_DrawAliasModel()
|
D | pmove.h | 44 vec3_t mins, maxs; // only for non-bsp models member
|
/external/quake/quake/src/QW/progs/ |
D | plats.qc | 26 tmax = self.maxs - '25 25 -8'; 187 setsize (self, self.mins , self.maxs); 326 setsize (self, self.mins , self.maxs); 359 setsize (self, self.mins , self.maxs);
|
D | progdefs.h | 80 vec3_t maxs; member
|