Detour compiles now with DT_VIRTUAL_QUERYFILTER. Fixed typos in comments. Fixed bug in findStraightPath() where leftPolyType was not used.

This commit is contained in:
Mikko Mononen
2010-08-26 18:57:53 +00:00
parent cfc66a0fc9
commit 5ba6518ed3
10 changed files with 742 additions and 118 deletions

View File

@@ -926,7 +926,7 @@ unsigned char* Sample_TileMesh::buildTileMesh(const int tx, const int ty, const
m_ctx->log(RC_LOG_PROGRESS, " - %d x %d cells", m_cfg.width, m_cfg.height);
m_ctx->log(RC_LOG_PROGRESS, " - %.1fK verts, %.1fK tris", nverts/1000.0f, ntris/1000.0f);
// Allocate voxel heighfield where we rasterize our input data to.
// Allocate voxel heightfield where we rasterize our input data to.
m_solid = rcAllocHeightfield();
if (!m_solid)
{