mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-10-02 23:15:33 +00:00
Off-Mesh connections across tile boundaries. Fixed getPolysAround(). Detour links per poly use linked list. Adjusted off-mesh connection tool.
This commit is contained in:
@@ -82,7 +82,7 @@ void DebugDrawGL::end()
|
||||
Sample::Sample() :
|
||||
m_geom(0),
|
||||
m_navMesh(0),
|
||||
m_navMeshDrawFlags(DU_DRAWNAVMESH_CLOSEDLIST),
|
||||
m_navMeshDrawFlags(DU_DRAWNAVMESH_CLOSEDLIST|DU_DRAWNAVMESH_OFFMESHCONS),
|
||||
m_tool(0)
|
||||
{
|
||||
resetCommonSettings();
|
||||
@@ -209,3 +209,11 @@ bool Sample::handleBuild()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/*
|
||||
void Sample::handleNavMeshChanged()
|
||||
{
|
||||
if (m_geom)
|
||||
m_geom->updateOffMeshConnectionVisibility(m_navMesh);
|
||||
}
|
||||
*/
|
||||
Reference in New Issue
Block a user