Compact heighfield dump and debug project to load it.

This commit is contained in:
Mikko Mononen
2010-03-01 08:22:50 +00:00
parent dbf95000e6
commit af0d41f5ff
15 changed files with 2235 additions and 13398 deletions

View File

@@ -139,6 +139,18 @@ void Sample::handleMeshChanged(InputGeom* geom)
m_geom = geom;
}
const float* Sample::getBoundsMin()
{
if (!m_geom) return 0;
return m_geom->getMeshBoundsMin();
}
const float* Sample::getBoundsMax()
{
if (!m_geom) return 0;
return m_geom->getMeshBoundsMax();
}
void Sample::resetCommonSettings()
{
m_cellSize = 0.3f;
@@ -215,11 +227,3 @@ bool Sample::handleBuild()
{
return true;
}
/*
void Sample::handleNavMeshChanged()
{
if (m_geom)
m_geom->updateOffMeshConnectionVisibility(m_navMesh);
}
*/