Removed stat and tile navmeshes. Fixed examples.

This commit is contained in:
Mikko Mononen
2009-12-04 07:27:53 +00:00
parent 6a00efb936
commit e4239a3bdf
26 changed files with 978 additions and 5716 deletions

View File

@@ -488,7 +488,7 @@ bool Sample_SoloMeshSimple::handleBuild()
// The GUI may allow more max points per polygon than Detour can handle.
// Only build the detour navmesh if we do not exceed the limit.
if (m_cfg.maxVertsPerPoly <= DT_STAT_VERTS_PER_POLYGON)
if (m_cfg.maxVertsPerPoly <= DT_VERTS_PER_POLYGON)
{
unsigned char* navData = 0;
int navDataSize = 0;