.
This commit is contained in:
parent
c5fafea817
commit
7c4b724c49
3 changed files with 4 additions and 3 deletions
|
@ -16,5 +16,5 @@ src/RecastNavMesh.cpp
|
|||
)
|
||||
|
||||
target_include_directories(godot-recast-navigation PRIVATE src/)
|
||||
target_link_libraries(godot-recast-navigation PUBLIC godot::cpp Recast)
|
||||
target_link_libraries(godot-recast-navigation PUBLIC godot::cpp Recast Detour)
|
||||
target_link_options(godot-recast-navigation PRIVATE -Wl,--no-undefined)
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 21d526e5e5b1e5d8b6be4db05a704c2c2e7837a9
|
||||
Subproject commit a62f633cebee4b36356dc903d00670733cd28fb1
|
|
@ -3,6 +3,7 @@
|
|||
#include "godot_cpp/classes/node3d.hpp"
|
||||
|
||||
#include "Recast.h"
|
||||
#include "DetourNavMesh.h"
|
||||
|
||||
namespace godot {
|
||||
|
||||
|
@ -29,7 +30,7 @@ private:
|
|||
rcPolyMesh* m_poly_mesh = NULL;
|
||||
rcPolyMeshDetail* m_poly_mesh_detail = NULL;
|
||||
rcContourSet* m_contour_set = NULL;
|
||||
rcNavMesh* m_nav_mesh = NULL;
|
||||
dtNavMesh* m_nav_mesh = NULL;
|
||||
protected:
|
||||
static void _bind_methods();
|
||||
void doLog(const rcLogCategory category, const char* msg, const int len) override {
|
||||
|
|
Loading…
Reference in a new issue