mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-09-02 16:38:44 +00:00
Detour: Optimized new cost code to removed redundant edge midpoint calculations.
Detour: FIxed broken raycast code on TileNavmesh. Detour: Added more comments to public API.
This commit is contained in:
@@ -898,7 +898,7 @@ bool Sample_StatMeshTiled::handleBuild()
|
||||
}
|
||||
}
|
||||
|
||||
if (m_cfg.maxVertsPerPoly == DT_STAT_VERTS_PER_POLYGON)
|
||||
if (m_cfg.maxVertsPerPoly <= DT_STAT_VERTS_PER_POLYGON)
|
||||
{
|
||||
unsigned char* navData = 0;
|
||||
int navDataSize = 0;
|
||||
|
||||
Reference in New Issue
Block a user