Planeshift
DetourNavMeshBuilder.h File Reference
#include "DetourAlloc.h"

Go to the source code of this file.

Classes

struct  dtNavMeshCreateParams
 Represents the source data used to build an navigation mesh tile. More...
 

Functions

bool dtCreateNavMeshData (dtNavMeshCreateParams *params, unsigned char **outData, int *outDataSize)
 Builds navigation mesh tile data from the provided tile creation data. More...
 
bool dtNavMeshDataSwapEndian (unsigned char *data, const int dataSize)
 Swaps endianess of the tile data. More...
 
bool dtNavMeshHeaderSwapEndian (unsigned char *data, const int dataSize)
 Swaps the endianess of the tile data's header (dtMeshHeader). More...
 

Function Documentation

bool dtNavMeshDataSwapEndian ( unsigned char *  data,
const int  dataSize 
)

Swaps endianess of the tile data.

Parameters
[in,out]dataThe tile data array.
[in]dataSizeThe size of the data array.
bool dtNavMeshHeaderSwapEndian ( unsigned char *  data,
const int  dataSize 
)

Swaps the endianess of the tile data's header (dtMeshHeader).

Parameters
[in,out]dataThe tile data array.
[in]dataSizeThe size of the data array.