Home
last modified time | relevance | path

Searched refs:maxs (Results 1 – 25 of 3713) sorted by relevance

12345678910>>...149

/dports/games/bzflag-server/bzflag-2.4.22/include/
H A DExtents.h50 float maxs[3]; variable
57 maxs[0] = maxs[1] = maxs[2] = -MAXFLOAT; in reset()
93 maxs[0] = orig.maxs[0];
94 maxs[1] = orig.maxs[1];
95 maxs[2] = orig.maxs[2];
110 if (test.maxs[0] > maxs[0]) in expandToBox()
111 maxs[0] = test.maxs[0]; in expandToBox()
112 if (test.maxs[1] > maxs[1]) in expandToBox()
113 maxs[1] = test.maxs[1]; in expandToBox()
114 if (test.maxs[2] > maxs[2]) in expandToBox()
[all …]
/dports/games/bzflag/bzflag-2.4.22/include/
H A DExtents.h50 float maxs[3]; variable
57 maxs[0] = maxs[1] = maxs[2] = -MAXFLOAT; in reset()
93 maxs[0] = orig.maxs[0];
94 maxs[1] = orig.maxs[1];
95 maxs[2] = orig.maxs[2];
110 if (test.maxs[0] > maxs[0]) in expandToBox()
111 maxs[0] = test.maxs[0]; in expandToBox()
112 if (test.maxs[1] > maxs[1]) in expandToBox()
113 maxs[1] = test.maxs[1]; in expandToBox()
114 if (test.maxs[2] > maxs[2]) in expandToBox()
[all …]
/dports/games/xonotic/Xonotic/source/darkplaces/
H A Dbih.c22 float maxs[3]; in BIH_BuildNode() local
33 maxs[0] = child->maxs[0]; in BIH_BuildNode()
34 maxs[1] = child->maxs[1]; in BIH_BuildNode()
35 maxs[2] = child->maxs[2]; in BIH_BuildNode()
42 if (maxs[0] < child->maxs[0]) maxs[0] = child->maxs[0]; in BIH_BuildNode()
43 if (maxs[1] < child->maxs[1]) maxs[1] = child->maxs[1]; in BIH_BuildNode()
44 if (maxs[2] < child->maxs[2]) maxs[2] = child->maxs[2]; in BIH_BuildNode()
69 node->maxs[0] = maxs[0]; in BIH_BuildNode()
70 node->maxs[1] = maxs[1]; in BIH_BuildNode()
71 node->maxs[2] = maxs[2]; in BIH_BuildNode()
[all …]
/dports/games/darkplaces/darkplaces/
H A Dbih.c22 float maxs[3]; in BIH_BuildNode() local
33 maxs[0] = child->maxs[0]; in BIH_BuildNode()
34 maxs[1] = child->maxs[1]; in BIH_BuildNode()
35 maxs[2] = child->maxs[2]; in BIH_BuildNode()
42 if (maxs[0] < child->maxs[0]) maxs[0] = child->maxs[0]; in BIH_BuildNode()
43 if (maxs[1] < child->maxs[1]) maxs[1] = child->maxs[1]; in BIH_BuildNode()
44 if (maxs[2] < child->maxs[2]) maxs[2] = child->maxs[2]; in BIH_BuildNode()
69 node->maxs[0] = maxs[0]; in BIH_BuildNode()
70 node->maxs[1] = maxs[1]; in BIH_BuildNode()
71 node->maxs[2] = maxs[2]; in BIH_BuildNode()
[all …]
/dports/games/egl/egl-0.3.1_9/shared/
H A Dm_bounds.c65 if (v[0] > maxs[0]) in AddPointTo2DBounds()
66 maxs[0] = v[0]; in AddPointTo2DBounds()
71 if (v[1] > maxs[1]) in AddPointTo2DBounds()
72 maxs[1] = v[1]; in AddPointTo2DBounds()
84 maxs[0] = maxs[1] = -99999; in Clear2DBounds()
105 if (v[0] > maxs[0]) in AddPointToBounds()
106 maxs[0] = v[0]; in AddPointToBounds()
111 if (v[1] > maxs[1]) in AddPointToBounds()
112 maxs[1] = v[1]; in AddPointToBounds()
118 maxs[2] = v[2]; in AddPointToBounds()
[all …]
H A Dm_plane.c33 int BoxOnPlaneSide (vec3_t mins, vec3_t maxs, cBspPlane_t *p) in BoxOnPlaneSide() argument
42 if (p->dist >= maxs[p->type]) in BoxOnPlaneSide()
50 dist1 = p->normal[0]*maxs[0] + p->normal[1]*maxs[1] + p->normal[2]*maxs[2]; in BoxOnPlaneSide()
55 dist1 = p->normal[0]*mins[0] + p->normal[1]*maxs[1] + p->normal[2]*maxs[2]; in BoxOnPlaneSide()
56 dist2 = p->normal[0]*maxs[0] + p->normal[1]*mins[1] + p->normal[2]*mins[2]; in BoxOnPlaneSide()
60 dist1 = p->normal[0]*maxs[0] + p->normal[1]*mins[1] + p->normal[2]*maxs[2]; in BoxOnPlaneSide()
66 dist2 = p->normal[0]*maxs[0] + p->normal[1]*maxs[1] + p->normal[2]*mins[2]; in BoxOnPlaneSide()
70 dist1 = p->normal[0]*maxs[0] + p->normal[1]*maxs[1] + p->normal[2]*mins[2]; in BoxOnPlaneSide()
76 dist2 = p->normal[0]*maxs[0] + p->normal[1]*mins[1] + p->normal[2]*maxs[2]; in BoxOnPlaneSide()
81 dist2 = p->normal[0]*mins[0] + p->normal[1]*maxs[1] + p->normal[2]*maxs[2]; in BoxOnPlaneSide()
[all …]
/dports/games/ufoai/ufoai-2.5-source/src/shared/
H A Daabb.h57 VectorCopy(other.maxs, maxs); in set()
74 maxs[0] = maxs[1] = maxs[2] = -99999; in clearBounds()
90 return maxs; in getMaxs()
93 return maxs[0]; in getMaxX()
96 return maxs[1]; in getMaxY()
127 || maxs[1] < other.mins[1] || maxs[2] < other.mins[2]); in doesIntersect()
147 maxs[0] = std::min(maxs[0], MWW); in clipToWorld()
148 maxs[1] = std::min(maxs[1], MWW); in clipToWorld()
154 maxs[0] += byVal; in expandXY()
161 VectorAdd(maxs, shiftVec, maxs); in shift()
[all …]
H A Daabb.cpp32 VectorCopy(vec3_origin, maxs); in AABB()
37 VectorCopy(maxi, maxs); in AABB()
44 maxs[0] = maxX; in AABB()
45 maxs[1] = maxY; in AABB()
46 maxs[2] = maxZ; in AABB()
64 if (val > maxs[i]) in add()
65 maxs[i] = val; in add()
80 if (other.maxs[i] > maxs[i]) in add()
81 maxs[i] = other.maxs[i]; in add()
98 VectorSubtract(maxs, center, halfDiagonal); in rotateAround()
[all …]
/dports/databases/tile38/tile38-1.12.0/index/
H A Dnorm.go38 return mins, maxs, normd
78 mins, maxs, normd = normRectStep(swLat, 180+(180+swLon), neLat, 180, mins, maxs, normd)
79 mins, maxs, normd = normRectStep(swLat, -180, neLat, neLon, mins, maxs, normd)
81 mins, maxs, normd = normRectStep(swLat, swLon, neLat, 180, mins, maxs, normd)
82 mins, maxs, normd = normRectStep(swLat, -180, neLat, -180+(neLon-180), mins, maxs, normd)
86 return mins, maxs, true
107 mins, maxs, normd = normRectStep(swLat, swLon, 90, neLon, mins, maxs, normd)
110 mins, maxs, normd = normRectStep(-90, swLon, neLat, neLon, mins, maxs, normd)
115 return mins, maxs, true
121 maxs = append(maxs, []float64{neLon, neLat})
[all …]
/dports/games/egoboo/egoboo-2.8.1/src/game/
H A Dbbox.c274 … rv.oct.maxs[OCT_XY] = MIN( pv1->oct.maxs[OCT_XY], pv2->oct.maxs[OCT_X] + pv2->oct.maxs[OCT_Y] ); in OVolume_intersect()
278 … rv.oct.maxs[OCT_YX] = MIN( pv1->oct.maxs[OCT_YX], -pv2->oct.mins[OCT_X] + pv2->oct.maxs[OCT_Y] ); in OVolume_intersect()
284 … rv.oct.maxs[OCT_XY] = MIN( pv1->oct.maxs[OCT_X] + pv1->oct.maxs[OCT_Y], pv2->oct.maxs[OCT_XY] ); in OVolume_intersect()
288 … rv.oct.maxs[OCT_YX] = MIN( -pv1->oct.mins[OCT_X] + pv1->oct.maxs[OCT_Y], pv2->oct.maxs[OCT_YX] ); in OVolume_intersect()
294 …rv.oct.maxs[OCT_XY] = MIN( pv1->oct.maxs[OCT_X] + pv1->oct.maxs[OCT_Y], pv2->oct.maxs[OCT_X] + pv2… in OVolume_intersect()
400 pd[cnt].pos.x = pov->oct.maxs[OCT_Y] - pov->oct.maxs[OCT_YX]; in OVolume_refine()
404 pd[cnt].pos.x = -pov->oct.maxs[OCT_Y] + pov->oct.maxs[OCT_XY]; in OVolume_refine()
651 val_x = pbmp->maxs[OCT_Y] - pbmp->maxs[OCT_YX]; in oct_bb_to_points()
669 val_x = pbmp->maxs[OCT_XY] - pbmp->maxs[OCT_Y]; in oct_bb_to_points()
788 val_y = pbmp->maxs[OCT_XY] - pbmp->maxs[OCT_X]; in oct_bb_to_points()
[all …]
/dports/games/egl/egl-0.3.1_9/renderer/
H A Drb_light.c131 qglVertex3f (light->maxs[0], light->maxs[1], light->maxs[2]); in RB_DrawDLights()
132 qglVertex3f (light->mins[0], light->maxs[1], light->maxs[2]); in RB_DrawDLights()
134 qglVertex3f (light->mins[0], light->maxs[1], light->maxs[2]); in RB_DrawDLights()
138 qglVertex3f (light->maxs[0], light->mins[1], light->maxs[2]); in RB_DrawDLights()
140 qglVertex3f (light->maxs[0], light->mins[1], light->maxs[2]); in RB_DrawDLights()
141 qglVertex3f (light->maxs[0], light->maxs[1], light->maxs[2]); in RB_DrawDLights()
146 qglVertex3f (light->maxs[0], light->maxs[1], light->mins[2]); in RB_DrawDLights()
156 qglVertex3f (light->maxs[0], light->maxs[1], light->mins[2]); in RB_DrawDLights()
161 qglVertex3f (light->maxs[0], light->maxs[1], light->maxs[2]); in RB_DrawDLights()
162 qglVertex3f (light->maxs[0], light->maxs[1], light->mins[2]); in RB_DrawDLights()
[all …]
/dports/shells/ast-ksh/ast-ksh93v/src/lib/libvcodex/
H A Dvcperiod.c37 Vcinx_t i, k, p, m, n, s, maxs, sz; local
66 maxs = 4*vclogi(sz); /* bound search to save time */
68 { for(m = 0, s = maxs, k = i+1; k < sz && s >= 0; ++k, --s)
74 for(n = 0, s = maxs, p = i-1; p >= 0 && s >= 0; --p, --s)
89 maxs = 0; /* max #matches at any distance */
91 if(dist[p] > maxs)
92 maxs = dist[p];
93 maxs = maxs/8 > 0 ? maxs/8 : maxs/4 > 0 ? maxs/4 : maxs/2 > 0 ? maxs/2 : maxs;
98 { if(dist[p] >= maxs && dist[p] > 2*(s-dist[p]) )
110 for(s = 0, k = p+p; s < maxs && 2*k < sz; s += 1, k += p)
[all …]
/dports/math/R-cran-matrixStats/matrixStats/src/
H A DcolRanges_lowlevel_template.h89 maxs = ans; in CONCAT_MACROS()
110 maxs[jj] = value; in CONCAT_MACROS()
113 maxs[jj] = value; in CONCAT_MACROS()
129 maxs = &ans[ncols]; in CONCAT_MACROS()
152 maxs[jj] = value; in CONCAT_MACROS()
157 maxs[jj] = value; in CONCAT_MACROS()
192 maxs = ans; in CONCAT_MACROS()
196 maxs[jj] = x[jj]; in CONCAT_MACROS()
203 if (value > maxs[jj]) maxs[jj] = value; in CONCAT_MACROS()
209 maxs = &ans[ncols]; in CONCAT_MACROS()
[all …]
H A DrowRanges_lowlevel_template.h96 maxs = ans; in CONCAT_MACROS()
119 maxs[ii] = value; in CONCAT_MACROS()
122 maxs[ii] = value; in CONCAT_MACROS()
138 maxs = &ans[nrows]; in CONCAT_MACROS()
163 maxs[ii] = value; in CONCAT_MACROS()
168 maxs[ii] = value; in CONCAT_MACROS()
203 maxs = ans; in CONCAT_MACROS()
207 maxs[ii] = x[ii]; in CONCAT_MACROS()
214 if (value > maxs[ii]) maxs[ii] = value; in CONCAT_MACROS()
220 maxs = &ans[nrows]; in CONCAT_MACROS()
[all …]
/dports/games/trigger-rally/trigger-rally-0.6.6.1/src/PEngine/
H A Dvmath.cpp63 bool frustum<T>::isAABBOutside(const vec3<T> &mins, const vec3<T> &maxs) const in isAABBOutside()
67 vec3<T>(maxs.x, mins.y, mins.z), in isAABBOutside()
68 vec3<T>(mins.x, maxs.y, mins.z), in isAABBOutside()
69 vec3<T>(maxs.x, maxs.y, mins.z), in isAABBOutside()
70 vec3<T>(mins.x, mins.y, maxs.z), in isAABBOutside()
71 vec3<T>(maxs.x, mins.y, maxs.z), in isAABBOutside()
72 vec3<T>(mins.x, maxs.y, maxs.z), in isAABBOutside()
73 vec3<T>(maxs.x, maxs.y, maxs.z) in isAABBOutside()
89 template bool frustum<float>::isAABBOutside(const vec3<float> &mins, const vec3<float> &maxs) const;
90 template bool frustum<double>::isAABBOutside(const vec3<double> &mins, const vec3<double> &maxs) co…
/dports/games/egl/egl-0.3.1_9/client/
H A Dgui_cursor.c47 gui->maxs[0] = gui->mins[0] + gui->rect[2]; in GUI_GenerateBounds()
48 gui->maxs[1] = gui->mins[1] + gui->rect[3]; in GUI_GenerateBounds()
55 AddBoundsTo2DBounds (child->mins, child->maxs, gui->mins, gui->maxs); in GUI_GenerateBounds()
235 if (bounds[0] > gui->maxs[0] in GUI_r_AdjustCursor()
236 || bounds[1] > gui->maxs[1] in GUI_r_AdjustCursor()
294 bounds[2] = gui->owner->maxs[0]; in GUI_AdjustCursor()
302 bounds[2] = gui->owner->maxs[0]; in GUI_AdjustCursor()
303 bounds[3] = gui->owner->maxs[1]; in GUI_AdjustCursor()
311 bounds[3] = gui->owner->maxs[1]; in GUI_AdjustCursor()
318 bounds[2] = gui->owner->maxs[0]; in GUI_AdjustCursor()
[all …]
/dports/games/iortcw/iortcw-1.51c/MP/code/server/
H A Dsv_world.c137 VectorCopy( maxs, maxs1 ); in SV_CreateworldSector()
138 VectorCopy( maxs, maxs2 ); in SV_CreateworldSector()
156 vec3_t mins, maxs; in SV_ClearWorld() local
163 CM_ModelBounds( h, mins, maxs ); in SV_ClearWorld()
239 i = gEnt->r.maxs[0]; in SV_LinkEntity()
257 k = ( gEnt->r.maxs[2] + 32 ); in SV_LinkEntity()
389 const float *maxs; member
450 ap.maxs = maxs; in SV_AreaEntities()
634 if ( !maxs ) { in SV_Trace()
635 maxs = vec3_origin; in SV_Trace()
[all …]
/dports/games/ioquake3/ioquake3-1.36/code/server/
H A Dsv_world.c130 VectorCopy (maxs, maxs1); in SV_CreateworldSector()
131 VectorCopy (maxs, maxs2); in SV_CreateworldSector()
149 vec3_t mins, maxs; in SV_ClearWorld() local
156 CM_ModelBounds( h, mins, maxs ); in SV_ClearWorld()
227 i = gEnt->r.maxs[0]; in SV_LinkEntity()
241 k = (gEnt->r.maxs[2]+32); in SV_LinkEntity()
370 const float *maxs; member
434 ap.maxs = maxs; in SV_AreaEntities()
607 if ( !maxs ) { in SV_Trace()
608 maxs = vec3_origin; in SV_Trace()
[all …]
/dports/games/ioquake3-server/ioquake3-1.36/code/server/
H A Dsv_world.c130 VectorCopy (maxs, maxs1); in SV_CreateworldSector()
131 VectorCopy (maxs, maxs2); in SV_CreateworldSector()
149 vec3_t mins, maxs; in SV_ClearWorld() local
156 CM_ModelBounds( h, mins, maxs ); in SV_ClearWorld()
227 i = gEnt->r.maxs[0]; in SV_LinkEntity()
241 k = (gEnt->r.maxs[2]+32); in SV_LinkEntity()
370 const float *maxs; member
434 ap.maxs = maxs; in SV_AreaEntities()
607 if ( !maxs ) { in SV_Trace()
608 maxs = vec3_origin; in SV_Trace()
[all …]
/dports/games/iortcw/iortcw-1.51c/SP/code/server/
H A Dsv_world.c137 VectorCopy( maxs, maxs1 ); in SV_CreateworldSector()
138 VectorCopy( maxs, maxs2 ); in SV_CreateworldSector()
156 vec3_t mins, maxs; in SV_ClearWorld() local
163 CM_ModelBounds( h, mins, maxs ); in SV_ClearWorld()
240 i = gEnt->r.maxs[0]; in SV_LinkEntity()
258 k = ( gEnt->r.maxs[2] + 32 ); in SV_LinkEntity()
390 const float *maxs; member
451 ap.maxs = maxs; in SV_AreaEntities()
628 if ( !maxs ) { in SV_Trace()
629 maxs = vec3_origin; in SV_Trace()
[all …]
/dports/games/tremulous/tremulous/tremulous-1.1.0-src/src/server/
H A Dsv_world.c131 VectorCopy (maxs, maxs1); in SV_CreateworldSector()
132 VectorCopy (maxs, maxs2); in SV_CreateworldSector()
150 vec3_t mins, maxs; in SV_ClearWorld() local
157 CM_ModelBounds( h, mins, maxs ); in SV_ClearWorld()
228 i = gEnt->r.maxs[0]; in SV_LinkEntity()
242 k = (gEnt->r.maxs[2]+32); in SV_LinkEntity()
371 const float *maxs; member
435 ap.maxs = maxs; in SV_AreaEntities()
608 if ( !maxs ) { in SV_Trace()
609 maxs = vec3_origin; in SV_Trace()
[all …]
/dports/games/worldofpadman/worldofpadman-1.2.20080621/code/server/
H A Dsv_world.c130 VectorCopy (maxs, maxs1); in SV_CreateworldSector()
131 VectorCopy (maxs, maxs2); in SV_CreateworldSector()
149 vec3_t mins, maxs; in SV_ClearWorld() local
156 CM_ModelBounds( h, mins, maxs ); in SV_ClearWorld()
227 i = gEnt->r.maxs[0]; in SV_LinkEntity()
241 k = (gEnt->r.maxs[2]+32); in SV_LinkEntity()
370 const float *maxs; member
434 ap.maxs = maxs; in SV_AreaEntities()
607 if ( !maxs ) { in SV_Trace()
608 maxs = vec3_origin; in SV_Trace()
[all …]
/dports/games/openarena/openarena-engine-source-0.8.8/code/server/
H A Dsv_world.c130 VectorCopy (maxs, maxs1); in SV_CreateworldSector()
131 VectorCopy (maxs, maxs2); in SV_CreateworldSector()
149 vec3_t mins, maxs; in SV_ClearWorld() local
156 CM_ModelBounds( h, mins, maxs ); in SV_ClearWorld()
227 i = gEnt->r.maxs[0]; in SV_LinkEntity()
241 k = (gEnt->r.maxs[2]+32); in SV_LinkEntity()
370 const float *maxs; member
434 ap.maxs = maxs; in SV_AreaEntities()
607 if ( !maxs ) { in SV_Trace()
608 maxs = vec3_origin; in SV_Trace()
[all …]
/dports/games/openarena-server/openarena-engine-source-0.8.8/code/server/
H A Dsv_world.c130 VectorCopy (maxs, maxs1); in SV_CreateworldSector()
131 VectorCopy (maxs, maxs2); in SV_CreateworldSector()
149 vec3_t mins, maxs; in SV_ClearWorld() local
156 CM_ModelBounds( h, mins, maxs ); in SV_ClearWorld()
227 i = gEnt->r.maxs[0]; in SV_LinkEntity()
241 k = (gEnt->r.maxs[2]+32); in SV_LinkEntity()
370 const float *maxs; member
434 ap.maxs = maxs; in SV_AreaEntities()
607 if ( !maxs ) { in SV_Trace()
608 maxs = vec3_origin; in SV_Trace()
[all …]
/dports/games/evq3/evq3/code/server/
H A Dsv_world.c130 VectorCopy (maxs, maxs1); in SV_CreateworldSector()
131 VectorCopy (maxs, maxs2); in SV_CreateworldSector()
149 vec3_t mins, maxs; in SV_ClearWorld() local
156 CM_ModelBounds( h, mins, maxs ); in SV_ClearWorld()
227 i = gEnt->r.maxs[0]; in SV_LinkEntity()
241 k = (gEnt->r.maxs[2]+32); in SV_LinkEntity()
370 const float *maxs; member
434 ap.maxs = maxs; in SV_AreaEntities()
607 if ( !maxs ) { in SV_Trace()
608 maxs = vec3_origin; in SV_Trace()
[all …]

12345678910>>...149