Removed unnecessary accessor for volumeCount

This commit is contained in:
Graham Pentheny
2025-08-05 16:13:32 -04:00
parent 05d37a0b9a
commit 7d4601b314
5 changed files with 6 additions and 13 deletions

View File

@@ -515,7 +515,7 @@ bool Sample_SoloMesh::build()
// (Optional) Marks the surface type of voxels in an area defined by a convex volume.
// Useful to mark areas of differing cost.
const ConvexVolume* vols = inputGeometry->getConvexVolumes();
for (int i = 0; i < inputGeometry->getConvexVolumeCount(); ++i)
for (int i = 0; i < inputGeometry->volumeCount; ++i)
{
rcMarkConvexPolyArea(
buildContext,