From 9210eb58fee6ab648f38f5a5dc958cc401f1eec5 Mon Sep 17 00:00:00 2001 From: ikpil Date: Sun, 14 Apr 2024 00:43:03 +0900 Subject: [PATCH] changed to use `CompactHeightfield` instead of `Heightfield` when finding bmin/bmax --- src/DotRecast.Recast.Demo/RecastDemo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DotRecast.Recast.Demo/RecastDemo.cs b/src/DotRecast.Recast.Demo/RecastDemo.cs index 270bfef..b6926e9 100644 --- a/src/DotRecast.Recast.Demo/RecastDemo.cs +++ b/src/DotRecast.Recast.Demo/RecastDemo.cs @@ -553,7 +553,7 @@ public class RecastDemo : IRecastDemoChannel { foreach (RcBuilderResult result in _sample.GetRecastResults()) { - if (result.SolidHeightfiled != null) + if (result.CompactHeightfield != null) { if (!hasBound) {