|
int | getDirOffsetX (int dir) |
|
int | getDirOffsetY (int dir) |
|
dtTileCacheContourSet * | dtAllocTileCacheContourSet (dtTileCacheAlloc *alloc) |
|
void | dtFreeTileCacheContourSet (dtTileCacheAlloc *alloc, dtTileCacheContourSet *cset) |
|
dtTileCachePolyMesh * | dtAllocTileCachePolyMesh (dtTileCacheAlloc *alloc) |
|
void | dtFreeTileCachePolyMesh (dtTileCacheAlloc *alloc, dtTileCachePolyMesh *lmesh) |
|
bool | overlapRangeExl (const unsigned short amin, const unsigned short amax, const unsigned short bmin, const unsigned short bmax) |
|
static void | addUniqueLast (unsigned char *a, unsigned char &an, unsigned char v) |
|
bool | isConnected (const dtTileCacheLayer &layer, const int ia, const int ib, const int walkableClimb) |
|
static bool | canMerge (unsigned char oldRegId, unsigned char newRegId, const dtLayerMonotoneRegion *regs, const int nregs) |
|
dtStatus | dtBuildTileCacheRegions (dtTileCacheAlloc *alloc, dtTileCacheLayer &layer, const int walkableClimb) |
|
static bool | appendVertex (dtTempContour &cont, const int x, const int y, const int z, const int r) |
|
static unsigned char | getNeighbourReg (dtTileCacheLayer &layer, const int ax, const int ay, const int dir) |
|
static bool | walkContour (dtTileCacheLayer &layer, int x, int y, dtTempContour &cont) |
|
static float | distancePtSeg (const int x, const int z, const int px, const int pz, const int qx, const int qz) |
|
static void | simplifyContour (dtTempContour &cont, const float maxError) |
|
static unsigned char | getCornerHeight (dtTileCacheLayer &layer, const int x, const int y, const int z, const int walkableClimb, bool &shouldRemove) |
|
dtStatus | dtBuildTileCacheContours (dtTileCacheAlloc *alloc, dtTileCacheLayer &layer, const int walkableClimb, const float maxError, dtTileCacheContourSet &lcset) |
|
int | computeVertexHash2 (int x, int y, int z) |
|
static unsigned short | addVertex (unsigned short x, unsigned short y, unsigned short z, unsigned short *verts, unsigned short *firstVert, unsigned short *nextVert, int &nv) |
|
static bool | buildMeshAdjacency (dtTileCacheAlloc *alloc, unsigned short *polys, const int npolys, const unsigned short *verts, const int nverts, const dtTileCacheContourSet &lcset) |
|
int | prev (int i, int n) |
|
int | next (int i, int n) |
|
int | area2 (const unsigned char *a, const unsigned char *b, const unsigned char *c) |
|
bool | xorb (bool x, bool y) |
|
bool | left (const unsigned char *a, const unsigned char *b, const unsigned char *c) |
|
bool | leftOn (const unsigned char *a, const unsigned char *b, const unsigned char *c) |
|
bool | collinear (const unsigned char *a, const unsigned char *b, const unsigned char *c) |
|
static bool | intersectProp (const unsigned char *a, const unsigned char *b, const unsigned char *c, const unsigned char *d) |
|
static bool | between (const unsigned char *a, const unsigned char *b, const unsigned char *c) |
|
static bool | intersect (const unsigned char *a, const unsigned char *b, const unsigned char *c, const unsigned char *d) |
|
static bool | vequal (const unsigned char *a, const unsigned char *b) |
|
static bool | diagonalie (int i, int j, int n, const unsigned char *verts, const unsigned short *indices) |
|
static bool | inCone (int i, int j, int n, const unsigned char *verts, const unsigned short *indices) |
|
static bool | diagonal (int i, int j, int n, const unsigned char *verts, const unsigned short *indices) |
|
static int | triangulate (int n, const unsigned char *verts, unsigned short *indices, unsigned short *tris) |
|
static int | countPolyVerts (const unsigned short *p) |
|
bool | uleft (const unsigned short *a, const unsigned short *b, const unsigned short *c) |
|
static int | getPolyMergeValue (unsigned short *pa, unsigned short *pb, const unsigned short *verts, int &ea, int &eb) |
|
static void | mergePolys (unsigned short *pa, unsigned short *pb, int ea, int eb) |
|
static void | pushFront (unsigned short v, unsigned short *arr, int &an) |
|
static void | pushBack (unsigned short v, unsigned short *arr, int &an) |
|
static bool | canRemoveVertex (dtTileCachePolyMesh &mesh, const unsigned short rem) |
|
static dtStatus | removeVertex (dtTileCachePolyMesh &mesh, const unsigned short rem, const int maxTris) |
|
dtStatus | dtBuildTileCachePolyMesh (dtTileCacheAlloc *alloc, dtTileCacheContourSet &lcset, dtTileCachePolyMesh &mesh) |
|
dtStatus | dtMarkCylinderArea (dtTileCacheLayer &layer, const float *orig, const float cs, const float ch, const float *pos, const float radius, const float height, const unsigned char areaId) |
|
dtStatus | dtMarkBoxArea (dtTileCacheLayer &layer, const float *orig, const float cs, const float ch, const float *bmin, const float *bmax, const unsigned char areaId) |
|
dtStatus | dtMarkBoxArea (dtTileCacheLayer &layer, const float *orig, const float cs, const float ch, const float *center, const float *halfExtents, const float *rotAux, const unsigned char areaId) |
|
dtStatus | dtBuildTileCacheLayer (dtTileCacheCompressor *comp, dtTileCacheLayerHeader *header, const unsigned char *heights, const unsigned char *areas, const unsigned char *cons, unsigned char **outData, int *outDataSize) |
|
void | dtFreeTileCacheLayer (dtTileCacheAlloc *alloc, dtTileCacheLayer *layer) |
|
dtStatus | dtDecompressTileCacheLayer (dtTileCacheAlloc *alloc, dtTileCacheCompressor *comp, unsigned char *compressed, const int compressedSize, dtTileCacheLayer **layerOut) |
|
bool | dtTileCacheHeaderSwapEndian (unsigned char *data, const int dataSize) |
| Swaps the endianness of the compressed tile data's header (dtTileCacheLayerHeader). More...
|
|