diff --git a/godot-cpp b/godot-cpp index a62f633..21d526e 160000 --- a/godot-cpp +++ b/godot-cpp @@ -1 +1 @@ -Subproject commit a62f633cebee4b36356dc903d00670733cd28fb1 +Subproject commit 21d526e5e5b1e5d8b6be4db05a704c2c2e7837a9 diff --git a/src/RecastNavMesh.cpp b/src/RecastNavMesh.cpp index 3cf483c..90de5b8 100644 --- a/src/RecastNavMesh.cpp +++ b/src/RecastNavMesh.cpp @@ -194,5 +194,3 @@ bool godot::RecastNavMesh::build() { m_heightfield = NULL; } -void godot::RecastNavMesh::clear_vertices() { -} diff --git a/src/RecastNavMesh.hpp b/src/RecastNavMesh.hpp index 0182246..fef8764 100644 --- a/src/RecastNavMesh.hpp +++ b/src/RecastNavMesh.hpp @@ -29,6 +29,7 @@ private: rcPolyMesh* m_poly_mesh = NULL; rcPolyMeshDetail* m_poly_mesh_detail = NULL; rcContourSet* m_contour_set = NULL; + rcNavMesh* m_nav_mesh = NULL; protected: static void _bind_methods(); void doLog(const rcLogCategory category, const char* msg, const int len) override { @@ -148,7 +149,6 @@ public: } public: void cleanup(); - void clear_vertices(); bool init(); // returns which triangles are walkable, you can replace every not 0 value with an area id of your choice