summaryrefslogtreecommitdiff
path: root/modules/navigation/navigation_mesh_generator.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-04-09 01:27:55 +0200
committerGitHub <noreply@github.com>2022-04-09 01:27:55 +0200
commiteb6ebdc4aff88de8da4217dfe1c4f226a1fd2132 (patch)
tree0c01e0ae5ed3d397a0aa2655c15446ef5c11c1be /modules/navigation/navigation_mesh_generator.h
parent7fff6432a574f9ff3b177589f79c89e64638751c (diff)
parentfcd26b8841524c6cc19e467797fc2d8f7647d5c1 (diff)
Merge pull request #59995 from Scony/fix-threaded-navmesh-baking
Fix navmesh baking
Diffstat (limited to 'modules/navigation/navigation_mesh_generator.h')
-rw-r--r--modules/navigation/navigation_mesh_generator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/navigation/navigation_mesh_generator.h b/modules/navigation/navigation_mesh_generator.h
index 21f7a4941b..8cc1531b53 100644
--- a/modules/navigation/navigation_mesh_generator.h
+++ b/modules/navigation/navigation_mesh_generator.h
@@ -51,6 +51,7 @@ protected:
static void _add_vertex(const Vector3 &p_vec3, Vector<float> &p_vertices);
static void _add_mesh(const Ref<Mesh> &p_mesh, const Transform3D &p_xform, Vector<float> &p_vertices, Vector<int> &p_indices);
+ static void _add_mesh_array(const Array &p_array, const Transform3D &p_xform, Vector<float> &p_vertices, Vector<int> &p_indices);
static void _add_faces(const PackedVector3Array &p_faces, const Transform3D &p_xform, Vector<float> &p_vertices, Vector<int> &p_indices);
static void _parse_geometry(const Transform3D &p_navmesh_transform, Node *p_node, Vector<float> &p_vertices, Vector<int> &p_indices, NavigationMesh::ParsedGeometryType p_generate_from, uint32_t p_collision_mask, bool p_recurse_children);