Implement terrain file reading to generate navmeshes in the future (#703)

* Implement terrain file reading to generate navmeshes in the future

* Make Emo's suggested changes.
This commit is contained in:
Jett
2022-08-04 01:59:47 +01:00
committed by GitHub
parent d2b05a1ac5
commit e6c7f744b5
13 changed files with 300 additions and 1 deletions

View File

@@ -1,4 +1,10 @@
set(DNAVIGATION_SOURCES "dNavMesh.cpp")
add_subdirectory(dTerrain)
foreach(file ${DNAVIGATIONS_DTERRAIN_SOURCES})
set(DNAVIGATION_SOURCES ${DNAVIGATION_SOURCES} "dTerrain/${file}")
endforeach()
add_library(dNavigation STATIC ${DNAVIGATION_SOURCES})
target_link_libraries(dNavigation detour recast)