Home
last modified time | relevance | path

Searched refs:mins (Results 1 – 25 of 69) sorted by relevance

123

/external/quake/quake/src/QW/server/
Dworld.c36 float *mins, *maxs; // size of the moving object member
105 hull_t *SV_HullForBox (vec3_t mins, vec3_t maxs) in SV_HullForBox() argument
108 box_planes[1].dist = mins[0]; in SV_HullForBox()
110 box_planes[3].dist = mins[1]; in SV_HullForBox()
112 box_planes[5].dist = mins[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()
156 VectorSubtract (hull->clip_mins, mins, offset); in SV_HullForEntity()
162 VectorSubtract (ent->v.mins, maxs, hullmins); in SV_HullForEntity()
163 VectorSubtract (ent->v.maxs, mins, hullmaxs); in SV_HullForEntity()
[all …]
Dsv_move.c39 vec3_t mins, maxs, start, stop; in SV_CheckBottom() local
44 VectorAdd (ent->v.origin, ent->v.mins, mins); in SV_CheckBottom()
50 start[2] = mins[2] - 1; 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()
68 start[2] = mins[2]; 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()
[all …]
Dsv_phys.c266 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
440 mins[i] = pusher->v.absmin[i] + move[i]; in SV_Push()
476 || check->v.absmax[0] <= mins[0] in SV_Push()
477 || check->v.absmax[1] <= mins[1] in SV_Push()
478 || check->v.absmax[2] <= mins[2] ) in SV_Push()
509 if (check->v.mins[0] == check->v.maxs[0]) in SV_Push()
[all …]
Dmodel.c523 out->mins[j] = LittleFloat (in->mins[j]) - 1; in Mod_LoadSubmodels()
635 float mins[2], maxs[2], val; in CalcSurfaceExtents() local
641 mins[0] = mins[1] = 999999; in CalcSurfaceExtents()
660 if (val < mins[j]) in CalcSurfaceExtents()
661 mins[j] = val; in CalcSurfaceExtents()
669 bmins[i] = floor(mins[i]/16); in CalcSurfaceExtents()
788 out->minmaxs[j] = LittleShort (in->mins[j]); in Mod_LoadNodes()
835 out->minmaxs[j] = LittleShort (in->mins[j]); in Mod_LoadLeafs()
1121 VectorCopy (bm->mins, mod->mins); in Mod_LoadBrushModel()
Dworld.h79 trace_t SV_Move (vec3_t start, vec3_t mins, vec3_t maxs, vec3_t end, int type, edict_t *passedict);
Dpr_cmds.c148 VectorCopy (min, e->v.mins); in PF_setsize()
188 VectorCopy (mod->mins, e->v.mins); 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()
/external/quake/quake/src/WinQuake/
Dworld.cpp36 float *mins, *maxs; // size of the moving object member
105 hull_t *SV_HullForBox (vec3_t mins, vec3_t maxs) in SV_HullForBox() argument
108 box_planes[1].dist = mins[0]; in SV_HullForBox()
110 box_planes[3].dist = mins[1]; in SV_HullForBox()
112 box_planes[5].dist = mins[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()
156 VectorSubtract (hull->clip_mins, mins, offset); 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()
[all …]
Dsv_move.cpp39 vec3_t mins, maxs, start, stop; in SV_CheckBottom() local
44 VectorAdd (ent->u.v.origin, ent->u.v.mins, mins); in SV_CheckBottom()
50 start[2] = mins[2] - 1; 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()
68 start[2] = mins[2]; 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()
[all …]
Dsv_phys.cpp260 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
458 mins[i] = pusher->u.v.absmin[i] + move[i]; in SV_PushMove()
493 || check->u.v.absmax[0] <= mins[0] in SV_PushMove()
494 || check->u.v.absmax[1] <= mins[1] in SV_PushMove()
495 || check->u.v.absmax[2] <= mins[2] ) in SV_PushMove()
521 if (check->u.v.mins[0] == check->u.v.maxs[0]) in SV_PushMove()
[all …]
Dgl_model.cpp593 out->mins[j] = LittleFloat (in->mins[j]) - 1; in Mod_LoadSubmodels()
707 float mins[2], maxs[2], val; in CalcSurfaceExtents() local
713 mins[0] = mins[1] = 999999; in CalcSurfaceExtents()
732 if (val < mins[j]) in CalcSurfaceExtents()
733 mins[j] = val; in CalcSurfaceExtents()
741 bmins[i] = (int) floorf(mins[i]/16); in CalcSurfaceExtents()
865 out->minmaxs[j] = LittleShort (in->mins[j]); in Mod_LoadNodes()
912 out->minmaxs[j] = LittleShort (in->mins[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 …]
Dmodel.cpp602 out->mins[j] = LittleFloat (in->mins[j]) - 1; in Mod_LoadSubmodels()
716 float mins[2], maxs[2], val; in CalcSurfaceExtents() local
722 mins[0] = mins[1] = 999999; in CalcSurfaceExtents()
741 if (val < mins[j]) in CalcSurfaceExtents()
742 mins[j] = val; in CalcSurfaceExtents()
750 bmins[i] = floor(mins[i]/16); in CalcSurfaceExtents()
869 out->minmaxs[j] = LittleShort (in->mins[j]); in Mod_LoadNodes()
916 out->minmaxs[j] = LittleShort (in->mins[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 …]
Dbspfile.h84 float mins[3], maxs[3]; member
159 short mins[3]; // for sphere culling member
218 short mins[3]; // for frustum culling member
Dgl_warp.cpp36 void BoundPoly (int numverts, float *verts, vec3_t mins, vec3_t maxs) in BoundPoly() argument
41 mins[0] = mins[1] = mins[2] = 9999; in BoundPoly()
47 if (*v < mins[j]) in BoundPoly()
48 mins[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()
78 if (m - mins[i] < 8) in SubdividePolygon()
Dworld.h67 trace_t SV_Move (vec3_t start, vec3_t mins, vec3_t maxs, vec3_t end, int type, edict_t *passedict);
/external/quake/quake/src/QW/client/
Dpmovetst.c74 hull_t *PM_HullForBox (vec3_t mins, vec3_t maxs) in PM_HullForBox() argument
77 box_planes[1].dist = mins[0]; in PM_HullForBox()
79 box_planes[3].dist = mins[1]; in PM_HullForBox()
81 box_planes[5].dist = mins[2]; in PM_HullForBox()
320 vec3_t mins, maxs, test; in PM_TestPlayerPosition() local
331 VectorSubtract (pe->mins, player_maxs, mins); in PM_TestPlayerPosition()
333 hull = PM_HullForBox (mins, maxs); in PM_TestPlayerPosition()
358 vec3_t mins, maxs; in PM_PlayerMove() local
374 VectorSubtract (pe->mins, player_maxs, mins); in PM_PlayerMove()
376 hull = PM_HullForBox (mins, maxs); in PM_PlayerMove()
Dbspfile.h81 float mins[3], maxs[3]; member
146 short mins[3]; // for sphere culling member
205 short mins[3]; // for frustum culling member
Dgl_model.c593 out->mins[j] = LittleFloat (in->mins[j]) - 1; in Mod_LoadSubmodels()
707 float mins[2], maxs[2], val; in CalcSurfaceExtents() local
713 mins[0] = mins[1] = 999999; in CalcSurfaceExtents()
732 if (val < mins[j]) in CalcSurfaceExtents()
733 mins[j] = val; in CalcSurfaceExtents()
741 bmins[i] = floor(mins[i]/16); in CalcSurfaceExtents()
865 out->minmaxs[j] = LittleShort (in->mins[j]); in Mod_LoadNodes()
916 out->minmaxs[j] = LittleShort (in->mins[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 …]
Dmodel.c584 out->mins[j] = LittleFloat (in->mins[j]) - 1; in Mod_LoadSubmodels()
698 float mins[2], maxs[2], val; in CalcSurfaceExtents() local
704 mins[0] = mins[1] = 999999; in CalcSurfaceExtents()
723 if (val < mins[j]) in CalcSurfaceExtents()
724 mins[j] = val; in CalcSurfaceExtents()
732 bmins[i] = floor(mins[i]/16); in CalcSurfaceExtents()
851 out->minmaxs[j] = LittleShort (in->mins[j]); in Mod_LoadNodes()
898 out->minmaxs[j] = LittleShort (in->mins[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 …]
Dgl_warp.c36 void BoundPoly (int numverts, float *verts, vec3_t mins, vec3_t maxs) in BoundPoly() argument
41 mins[0] = mins[1] = mins[2] = 9999; in BoundPoly()
47 if (*v < mins[j]) in BoundPoly()
48 mins[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()
78 if (m - mins[i] < 8) in SubdividePolygon()
Dgl_rmain.c111 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
512 VectorAdd (currententity->origin, clmodel->mins, mins); in R_DrawAliasModel()
515 if (R_CullBox (mins, maxs)) in R_DrawAliasModel()
Dpmove.h44 vec3_t mins, maxs; // only for non-bsp models member
/external/quake/quake/src/QW/progs/
Dplats.qc25 tmin = self.mins + '25 25 0';
187 setsize (self, self.mins , self.maxs);
264 SUB_CalcMove (targ.origin - self.mins, self.speed, train_wait);
274 setorigin (self, targ.origin - self.mins);
326 setsize (self, self.mins , self.maxs);
359 setsize (self, self.mins , self.maxs);
/external/tcpdump/
Dprint-ospf6.c103 register time_t mins = (us / 60) % 60; in ospf6_print_seqage() local
109 (u_int32_t) hour, (u_int32_t) mins, (u_int32_t) sec); in ospf6_print_seqage()
110 else if (mins) in ospf6_print_seqage()
111 printf("%u:%02u", (u_int32_t) mins, (u_int32_t) sec); in ospf6_print_seqage()
/external/qemu/distrib/libpng-1.2.19/
Dpngwutil.c2114 png_uint_32 mins, bpp; in png_write_find_filter() local
2128 mins = PNG_MAXSUM; in png_write_find_filter()
2204 mins = sum; in png_write_find_filter()
2229 png_uint_32 sum = 0, lmins = mins; in png_write_find_filter()
2317 if (sum < mins) in png_write_find_filter()
2319 mins = sum; in png_write_find_filter()
2342 png_uint_32 sum = 0, lmins = mins; in png_write_find_filter()
2420 if (sum < mins) in png_write_find_filter()
2422 mins = sum; in png_write_find_filter()
2448 png_uint_32 sum = 0, lmins = mins; in png_write_find_filter()
[all …]
/external/libpng/
Dpngwutil.c2150 png_uint_32 mins, bpp; in png_write_find_filter() local
2175 mins = PNG_MAXSUM; in png_write_find_filter()
2251 mins = sum; in png_write_find_filter()
2276 png_uint_32 sum = 0, lmins = mins; in png_write_find_filter()
2364 if (sum < mins) in png_write_find_filter()
2366 mins = sum; in png_write_find_filter()
2389 png_uint_32 sum = 0, lmins = mins; in png_write_find_filter()
2467 if (sum < mins) in png_write_find_filter()
2469 mins = sum; in png_write_find_filter()
2495 png_uint_32 sum = 0, lmins = mins; in png_write_find_filter()
[all …]

123