From 81930c6719b17ca5dee1b1b456d7bcbf9145265b Mon Sep 17 00:00:00 2001 From: smix8 <52464204+smix8@users.noreply.github.com> Date: Thu, 20 Jul 2023 18:16:32 +0200 Subject: [PATCH] Remove unused struct from NavigationMesh Removes unused struct from NavigationMesh. --- scene/resources/navigation_mesh.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/scene/resources/navigation_mesh.h b/scene/resources/navigation_mesh.h index c3b8c13c05..3b1d2eb879 100644 --- a/scene/resources/navigation_mesh.h +++ b/scene/resources/navigation_mesh.h @@ -43,19 +43,6 @@ class NavigationMesh : public Resource { Vector polygons; Ref debug_mesh; - struct _EdgeKey { - Vector3 from; - Vector3 to; - - static uint32_t hash(const _EdgeKey &p_key) { - return HashMapHasherDefault::hash(p_key.from) ^ HashMapHasherDefault::hash(p_key.to); - } - - bool operator==(const _EdgeKey &p_with) const { - return HashMapComparatorDefault::compare(from, p_with.from) && HashMapComparatorDefault::compare(to, p_with.to); - } - }; - protected: static void _bind_methods(); void _validate_property(PropertyInfo &p_property) const;