Fixed field naming in some areas of the demo project

This commit is contained in:
Graham Pentheny
2026-02-02 18:37:28 -05:00
parent cb205935d5
commit bcff86c17d
3 changed files with 57 additions and 57 deletions

View File

@@ -432,13 +432,13 @@ bool Sample_SoloMesh::build()
triAreas = new unsigned char[numTris];
if (!triAreas)
{
buildContext->log(RC_LOG_ERROR, "buildNavigation: Out of memory 'm_triareas' (%d).", numTris);
buildContext->log(RC_LOG_ERROR, "buildNavigation: Out of memory 'triAreas' (%d).", numTris);
return false;
}
memset(triAreas, 0, numTris * sizeof(unsigned char));
// Record which triangles in the input mesh are walkable.
// This information is recorded in m_triareas
// This information is recorded in triAreas
rcMarkWalkableTriangles(buildContext, config.walkableSlopeAngle, verts, numVerts, tris, numTris, triAreas);
// Rasterize the input mesh