summaryrefslogtreecommitdiff
path: root/modules/navigation/navigation_mesh_generator.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-01-31 23:57:11 +0100
committerGitHub <noreply@github.com>2022-01-31 23:57:11 +0100
commitee6b4b5800686e86bdb522ffa5df74028bf49dca (patch)
tree60b42771b29251a2de2e11e2912c641de01b7443 /modules/navigation/navigation_mesh_generator.h
parent45553fd5868dd8733d7cab021f4f047360cace8e (diff)
parenta30dd094d345fc7bf65bc10486b2797e19054d56 (diff)
Merge pull request #57492 from Scony/fix-navigation-transforms
Diffstat (limited to 'modules/navigation/navigation_mesh_generator.h')
-rw-r--r--modules/navigation/navigation_mesh_generator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/navigation/navigation_mesh_generator.h b/modules/navigation/navigation_mesh_generator.h
index 1ffdd39aee..21f7a4941b 100644
--- a/modules/navigation/navigation_mesh_generator.h
+++ b/modules/navigation/navigation_mesh_generator.h
@@ -52,7 +52,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_faces(const PackedVector3Array &p_faces, const Transform3D &p_xform, Vector<float> &p_vertices, Vector<int> &p_indices);
- static void _parse_geometry(Transform3D p_accumulated_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);
+ 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);
static void _convert_detail_mesh_to_native_navigation_mesh(const rcPolyMeshDetail *p_detail_mesh, Ref<NavigationMesh> p_nav_mesh);
static void _build_recast_navigation_mesh(