From 375e43b39bdae8db590ff5855686d000e0ca242b Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sat, 11 Jan 2025 00:29:43 +0100 Subject: [PATCH] Increase NavigationLink3D gizmo detail to match other circle/sphere 3D gizmos This makes the gizmo look less "angular". --- editor/plugins/gizmos/navigation_link_3d_gizmo_plugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/plugins/gizmos/navigation_link_3d_gizmo_plugin.cpp b/editor/plugins/gizmos/navigation_link_3d_gizmo_plugin.cpp index 18cdbcb7a9f..0e47fcf0169 100644 --- a/editor/plugins/gizmos/navigation_link_3d_gizmo_plugin.cpp +++ b/editor/plugins/gizmos/navigation_link_3d_gizmo_plugin.cpp @@ -70,9 +70,9 @@ void NavigationLink3DGizmoPlugin::redraw(EditorNode3DGizmo *p_gizmo) { p_gizmo->clear(); - // Number of points in an octant. So there ill be 8 * points_in_octant points in total. + // Number of points in an octant. So there will be 8 * points_in_octant points in total. // Correspond to the smoothness of the circle. - const uint32_t points_in_octant = 4; + const uint32_t points_in_octant = 8; real_t inc = (Math_PI / (4 * points_in_octant)); Vector lines;