changed to use `CompactHeightfield` instead of `Heightfield` when finding bmin/bmax

This commit is contained in:
ikpil 2024-04-14 00:43:03 +09:00
parent da82d6ba4d
commit 9210eb58fe
1 changed files with 1 additions and 1 deletions

View File

@ -553,7 +553,7 @@ public class RecastDemo : IRecastDemoChannel
{ {
foreach (RcBuilderResult result in _sample.GetRecastResults()) foreach (RcBuilderResult result in _sample.GetRecastResults())
{ {
if (result.SolidHeightfiled != null) if (result.CompactHeightfield != null)
{ {
if (!hasBound) if (!hasBound)
{ {