76 float m_meshBMin[3], m_meshBMax[3];
78 bool m_hasBuildSettings;
82 static const int MAX_OFFMESH_CONNECTIONS = 256;
83 float m_offMeshConVerts[MAX_OFFMESH_CONNECTIONS*3*2];
84 float m_offMeshConRads[MAX_OFFMESH_CONNECTIONS];
85 unsigned char m_offMeshConDirs[MAX_OFFMESH_CONNECTIONS];
86 unsigned char m_offMeshConAreas[MAX_OFFMESH_CONNECTIONS];
87 unsigned short m_offMeshConFlags[MAX_OFFMESH_CONNECTIONS];
88 unsigned int m_offMeshConId[MAX_OFFMESH_CONNECTIONS];
89 int m_offMeshConCount;
94 static const int MAX_VOLUMES = 256;
99 bool loadMesh(
class rcContext* ctx,
const std::string& filepath);
100 bool loadGeomSet(
class rcContext* ctx,
const std::string& filepath);
106 bool load(
class rcContext* ctx,
const std::string& filepath);
117 bool raycastMesh(
float* src,
float* dst,
float& tmin);
129 unsigned char bidir,
unsigned char area,
unsigned short flags);
139 const float minh,
const float maxh,
unsigned char area);
Provides an interface for optional logging and performance tracking of the Recast build process.
Definition: Recast.h:115
Definition: MeshLoaderObj.h:25
Definition: InputGeom.h:35
float agentHeight
Definition: InputGeom.h:41
float navMeshBMin[3]
Definition: InputGeom.h:66
int partitionType
Definition: InputGeom.h:64
float regionMinSize
Definition: InputGeom.h:50
float agentMaxSlope
Definition: InputGeom.h:47
float detailSampleMaxError
Definition: InputGeom.h:62
float agentMaxClimb
Definition: InputGeom.h:45
float vertsPerPoly
Definition: InputGeom.h:58
float edgeMaxError
Definition: InputGeom.h:57
float agentRadius
Definition: InputGeom.h:43
float cellSize
Definition: InputGeom.h:37
float navMeshBMax[3]
Definition: InputGeom.h:67
float tileSize
Definition: InputGeom.h:69
float detailSampleDist
Definition: InputGeom.h:60
float cellHeight
Definition: InputGeom.h:39
float edgeMaxLen
Definition: InputGeom.h:55
float regionMergeSize
Definition: InputGeom.h:53
Definition: InputGeom.h:27
float hmax
Definition: InputGeom.h:29
float hmin
Definition: InputGeom.h:29
float verts[MAX_CONVEXVOL_PTS *3]
Definition: InputGeom.h:28
int nverts
Definition: InputGeom.h:30
int area
Definition: InputGeom.h:31
Abstract debug draw interface.
Definition: DebugDraw.h:35
Definition: ChunkyTriMesh.h:31