mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-09-02 08:28:45 +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:
@@ -200,7 +200,7 @@ void Sample_StatMesh::toolRender(int flags)
|
||||
glDepthMask(GL_FALSE);
|
||||
|
||||
if (flags & NAVMESH_POLYS)
|
||||
dtDebugDrawStatNavMesh(m_navMesh);
|
||||
dtDebugDrawStatNavMesh(m_navMesh, m_toolMode == TOOLMODE_PATHFIND);
|
||||
|
||||
if (flags & NAVMESH_BVTREE)
|
||||
dtDebugDrawStatNavMeshBVTree(m_navMesh);
|
||||
|
||||
Reference in New Issue
Block a user