From 50ea674ccebb78a707f12d713fdadfe67d3fdf1f Mon Sep 17 00:00:00 2001 From: ikpil Date: Sat, 20 Apr 2024 12:59:34 +0900 Subject: [PATCH] used option `keepInterResults` to save memory - https://github.com/ikpil/DotRecast/issues/66 - https://github.com/ikpil/DotRecast/issues/61 --- src/DotRecast.Recast.Toolset/Builder/SoloNavMeshBuilder.cs | 4 ++-- src/DotRecast.Recast/RcBuilder.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/DotRecast.Recast.Toolset/Builder/SoloNavMeshBuilder.cs b/src/DotRecast.Recast.Toolset/Builder/SoloNavMeshBuilder.cs index ced313d..71d2c0f 100644 --- a/src/DotRecast.Recast.Toolset/Builder/SoloNavMeshBuilder.cs +++ b/src/DotRecast.Recast.Toolset/Builder/SoloNavMeshBuilder.cs @@ -87,8 +87,8 @@ namespace DotRecast.Recast.Toolset.Builder result.TileX, result.TileZ, null, - result.CompactHeightfield, - result.ContourSet, + null, + null, result.Mesh, result.MeshDetail, result.Context diff --git a/src/DotRecast.Recast/RcBuilder.cs b/src/DotRecast.Recast/RcBuilder.cs index 5583f42..8cad533 100644 --- a/src/DotRecast.Recast/RcBuilder.cs +++ b/src/DotRecast.Recast/RcBuilder.cs @@ -144,8 +144,8 @@ namespace DotRecast.Recast result.TileX, result.TileZ, null, - result.CompactHeightfield, - result.ContourSet, + null, + null, result.Mesh, result.MeshDetail, result.Context