forked from mirror/DotRecast
changed to use `CompactHeightfield` instead of `Heightfield` when finding bmin/bmax
This commit is contained in:
parent
da82d6ba4d
commit
9210eb58fe
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue