This commit is contained in:
Tim Blume 2024-06-24 12:26:11 +02:00
parent fd0728123a
commit 41177d737e
3 changed files with 2 additions and 4 deletions

@ -1 +1 @@
Subproject commit a62f633cebee4b36356dc903d00670733cd28fb1 Subproject commit 21d526e5e5b1e5d8b6be4db05a704c2c2e7837a9

View file

@ -194,5 +194,3 @@ bool godot::RecastNavMesh::build() {
m_heightfield = NULL; m_heightfield = NULL;
} }
void godot::RecastNavMesh::clear_vertices() {
}

View file

@ -29,6 +29,7 @@ private:
rcPolyMesh* m_poly_mesh = NULL; rcPolyMesh* m_poly_mesh = NULL;
rcPolyMeshDetail* m_poly_mesh_detail = NULL; rcPolyMeshDetail* m_poly_mesh_detail = NULL;
rcContourSet* m_contour_set = NULL; rcContourSet* m_contour_set = NULL;
rcNavMesh* m_nav_mesh = NULL;
protected: protected:
static void _bind_methods(); static void _bind_methods();
void doLog(const rcLogCategory category, const char* msg, const int len) override { void doLog(const rcLogCategory category, const char* msg, const int len) override {
@ -148,7 +149,6 @@ public:
} }
public: public:
void cleanup(); void cleanup();
void clear_vertices();
bool init(); bool init();
// returns which triangles are walkable, you can replace every not 0 value with an area id of your choice // returns which triangles are walkable, you can replace every not 0 value with an area id of your choice