|
| static int | compareItemX (const void *va, const void *vb) |
| |
| static int | compareItemY (const void *va, const void *vb) |
| |
| static void | calcExtends (const BoundsItem *items, const int, const int imin, const int imax, float *bmin, float *bmax) |
| |
| int | longestAxis (float x, float y) |
| |
| static void | subdivide (BoundsItem *items, int nitems, int imin, int imax, int trisPerChunk, int &curNode, rcChunkyTriMeshNode *nodes, const int maxNodes, int &curTri, int *outTris, const int *inTris) |
| |
| bool | rcCreateChunkyTriMesh (const float *verts, const int *tris, int ntris, int trisPerChunk, rcChunkyTriMesh *cm) |
| | Creates partitioned triangle mesh (AABB tree), where each node contains at max trisPerChunk triangles.
|
| |
| bool | checkOverlapRect (const float amin[2], const float amax[2], const float bmin[2], const float bmax[2]) |
| |
| int | rcGetChunksOverlappingRect (const rcChunkyTriMesh *cm, float bmin[2], float bmax[2], int *ids, const int maxIds) |
| | Returns the chunk indices which overlap the input rectable.
|
| |
| static bool | checkOverlapSegment (const float p[2], const float q[2], const float bmin[2], const float bmax[2]) |
| |
| int | rcGetChunksOverlappingSegment (const rcChunkyTriMesh *cm, float p[2], float q[2], int *ids, const int maxIds) |
| | Returns the chunk indices which overlap the input segment.
|
| |