Skip to content

Commit

Permalink
feat: enable resizable heap for complex navmesh generation
Browse files Browse the repository at this point in the history
  • Loading branch information
isaac-mason committed Apr 19, 2023
1 parent 08becd7 commit 1afdacc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/green-bears-sleep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@recast-navigation/wasm': patch
---

feat: enable resizable heap for complex navmesh generation
2 changes: 1 addition & 1 deletion packages/recast-navigation-wasm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ set(CMAKE_BUILD_TYPE Release CACHE STRING "Build Type")
set(TOTAL_MEMORY 67108864 CACHE STRING "Total Memory")

# Enable for resizable heap, with some amount of slowness
set(ALLOW_MEMORY_GROWTH 0 CACHE STRING "Allow Memory Growth")
set(ALLOW_MEMORY_GROWTH 1 CACHE STRING "Allow Memory Growth")

set(EMCC_ARGS
-flto
Expand Down

0 comments on commit 1afdacc

Please sign in to comment.