Searched refs:hull (Results 1 - 17 of 17) sorted by relevance

/external/quake/quake/src/QW/client/
H A Dpmovetst.c93 int PM_HullPointContents (hull_t *hull, int num, vec3_t p) argument
101 if (num < hull->firstclipnode || num > hull->lastclipnode)
104 node = hull->clipnodes + num;
105 plane = hull->planes + node->planenum;
131 hull_t *hull; local
134 hull = &pmove.physents[0].model->hulls[0];
136 num = hull->firstclipnode;
140 if (num < hull->firstclipnode || num > hull
176 PM_RecursiveHullCheck(hull_t *hull, int num, float p1f, float p2f, vec3_t p1, vec3_t p2, pmtrace_t *trace) argument
321 hull_t *hull; local
355 hull_t *hull; local
[all...]
H A Dgl_model.c960 hull_t *hull; local
971 hull = &loadmodel->hulls[1];
972 hull->clipnodes = out;
973 hull->firstclipnode = 0;
974 hull->lastclipnode = count-1;
975 hull->planes = loadmodel->planes;
976 hull->clip_mins[0] = -16;
977 hull->clip_mins[1] = -16;
978 hull->clip_mins[2] = -24;
979 hull
1015 hull_t *hull; local
[all...]
H A Dmodel.c930 hull_t *hull; local
941 hull = &loadmodel->hulls[1];
942 hull->clipnodes = out;
943 hull->firstclipnode = 0;
944 hull->lastclipnode = count-1;
945 hull->planes = loadmodel->planes;
946 hull->clip_mins[0] = -16;
947 hull->clip_mins[1] = -16;
948 hull->clip_mins[2] = -24;
949 hull
985 hull_t *hull; local
[all...]
H A Dpmove.h97 int PM_HullPointContents (hull_t *hull, int num, vec3_t p);
/external/jmonkeyengine/engine/src/bullet-native/
H A Dcom_jme3_bullet_util_DebugShapeFactory.cpp101 // Check there is a hull shape to render
103 // create a hull approximation
104 btShapeHull* hull = new btShapeHull(convexShape); local
106 hull->buildHull(margin);
107 convexShape->setUserPointer(hull);
110 btShapeHull* hull = (btShapeHull*) convexShape->getUserPointer(); local
112 int numberOfTriangles = hull->numTriangles();
117 const unsigned int* hullIndices = hull->getIndexPointer();
118 const btVector3* hullVertices = hull->getVertexPointer();
123 // Grab the data for this triangle from the hull
[all...]
/external/quake/quake/src/QW/server/
H A Dworld.c45 int SV_HullPointContents (hull_t *hull, int num, vec3_t p);
123 Returns a hull that can be used for testing or clipping an object of mins/maxs
126 testing object's origin to get a point to use with the returned hull.
134 hull_t *hull; local
136 // decide which clipping hull to use, based on the size
149 hull = &model->hulls[0];
151 hull = &model->hulls[1];
153 hull = &model->hulls[2];
156 VectorSubtract (hull->clip_mins, mins, offset);
160 { // create a temp hull fro
453 SV_HullPointContents(hull_t *hull, int num, vec3_t p) argument
533 SV_RecursiveHullCheck(hull_t *hull, int num, float p1f, float p2f, vec3_t p1, vec3_t p2, trace_t *trace) argument
679 hull_t *hull; local
875 hull_t *hull; local
[all...]
H A Dmodel.c867 hull_t *hull; local
878 hull = &loadmodel->hulls[1];
879 hull->clipnodes = out;
880 hull->firstclipnode = 0;
881 hull->lastclipnode = count-1;
882 hull->planes = loadmodel->planes;
883 hull->clip_mins[0] = -16;
884 hull->clip_mins[1] = -16;
885 hull->clip_mins[2] = -24;
886 hull
922 hull_t *hull; local
[all...]
H A Dworlda.s19 // hull-point test
22 #define hull 4+8 // because only partially pushed define
39 movl hull(%esp),%ebx
53 // %edi: hull->clipnodes
54 // %ebp: hull->planes
61 // node = hull->clipnodes + num;
62 // plane = hull->planes + node->planenum;
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/util/
H A DDebugShapeFactory.java159 // Check there is a hull shape to render
161 // create a hull approximation
162 ShapeHull hull = new ShapeHull(convexShape);
164 hull.buildHull(margin);
165 convexShape.setUserPointer(hull);
168 // Assert state - should have a pointer to a hull (shape) that'll be drawn
170 ShapeHull hull = (ShapeHull) convexShape.getUserPointer();
173 assert hull.numTriangles() > 0 : "Expecting the Hull shape to have triangles";
174 int numberOfTriangles = hull.numTriangles();
184 final IntArrayList hullIndicies = hull
[all...]
/external/quake/quake/src/WinQuake/
H A Dworld.cpp45 int SV_HullPointContents (hull_t *hull, int num, vec3_t p);
123 Returns a hull that can be used for testing or clipping an object of mins/maxs
126 testing object's origin to get a point to use with the returned hull.
134 hull_t *hull; local
136 // decide which clipping hull to use, based on the size
149 hull = &model->hulls[0];
151 hull = &model->hulls[1];
153 hull = &model->hulls[2];
156 VectorSubtract (hull->clip_mins, mins, offset);
160 { // create a temp hull fro
491 SV_HullPointContents(hull_t *hull, int num, vec3_t p) argument
581 SV_RecursiveHullCheck(hull_t *hull, int num, float p1f, float p2f, vec3_t p1, vec3_t p2, trace_t *trace) argument
727 hull_t *hull; local
[all...]
H A Dworlda.s39 // hull-point test
42 #define hull 4+8 // because only partially pushed define
59 movl hull(%esp),%ebx
73 // %edi: hull->clipnodes
74 // %ebp: hull->planes
81 // node = hull->clipnodes + num;
82 // plane = hull->planes + node->planenum;
H A Dgl_model.cpp951 hull_t *hull; local
962 hull = &loadmodel->hulls[1];
963 hull->clipnodes = out;
964 hull->firstclipnode = 0;
965 hull->lastclipnode = count-1;
966 hull->planes = loadmodel->planes;
967 hull->clip_mins[0] = -16;
968 hull->clip_mins[1] = -16;
969 hull->clip_mins[2] = -24;
970 hull
1006 hull_t *hull; local
[all...]
H A Dmodel.cpp948 hull_t *hull; local
959 hull = &loadmodel->hulls[1];
960 hull->clipnodes = out;
961 hull->firstclipnode = 0;
962 hull->lastclipnode = count-1;
963 hull->planes = loadmodel->planes;
964 hull->clip_mins[0] = -16;
965 hull->clip_mins[1] = -16;
966 hull->clip_mins[2] = -24;
967 hull
1003 hull_t *hull; local
[all...]
H A Dquakedef.h346 qboolean SV_RecursiveHullCheck (hull_t *hull, int num, float p1f, float p2f, vec3_t p1, vec3_t p2, trace_t *trace);
/external/opencv/cv/src/
H A Dcvconvhull.cpp231 union { CvContour* c; CvSeq* s; } hull; local
238 hull.s = 0;
298 "The hull matrix should be continuous and have a single row or a single column" );
301 CV_ERROR( CV_StsBadSize, "The hull matrix size might be not enough to fit the hull" );
306 "The hull matrix must have the same type as input or 32sC1 (integers)" );
397 /* gather upper part of convex hull to output */
452 the bottom part of the convex hull is the mirrored top part
496 hull.s = hullseq;
497 hull
536 CvSeq *ptseq = (CvSeq*)array, *hull = (CvSeq*)hullarray; local
[all...]
H A Dcvcalibinit.cpp1082 centers[skip] = center; // pattern center (so it is not counted for convex hull)
1084 CvSeq *hull = cvConvexHull2( &pointMat, temp_storage, CV_CLOCKWISE, 1 ); local
1086 double hull_area = fabs(cvContourArea(hull, CV_WHOLE_SEQ));
/external/opencv/cv/include/
H A Dcvcompat.h381 /* Calculates exact convex hull of 2d point set */
384 int orientation, int* hull, int* hullsize )
387 CvMat hull1 = cvMat( 1, num_points, CV_32SC1, hull );
393 /* Calculates exact convex hull of 2d point set stored in a sequence */
397 /* Calculates approximate convex hull of 2d point set */
399 orientation, hull, hullsize ) \
400 cvConvexHull( points, num_points, bound_rect, orientation, hull, hullsize )
402 /* Calculates approximate convex hull of 2d point set stored in a sequence */
382 cvConvexHull( CvPoint* points, int num_points, CvRect* CV_UNREFERENCED(bound_rect), int orientation, int* hull, int* hullsize ) argument

Completed in 219 milliseconds