OverviewFilesCommitsIssuesDocsReleasesPeers

Attila772-hypergodot commits / 3502368

Update HyperEdge.gd
35023688493e0c569f881a62aebc7547c6293130
by Attila772 <71554727+Attila772@users.noreply.github.com> · 2025-01-08T08:24:54.000Z

Changed files (1) +3 -3

HyperEdge.gd +3 -3
……@@ -30,8 +30,8 @@ func _draw():
3030 var radius = nodes[node_id]
3131 points += generate_circle_points(center, radius,50) # Generate circle points
3232 # Draw each point as a small circle for visibility
33 for point in points:
34 draw_circle(point, 2, Color(1, 0, 0)) # Red color, radius 2
33 #for point in points:
34 # draw_circle(point, 2, Color(1, 0, 0)) # Red color, radius 2
3535
3636 # Compute the convex hull of the points
3737 var hull = andrew_monotone_chain(points)
……@@ -106,7 +106,7 @@ func andrew_monotone_chain(points):
106106 upper.append(p)
107107 # Concatenate the hulls
108108 # The first and last points in lower will be the same as the last two points in upper,
109 # so we pop them from the result
109 # so we drop them from the result
110110 lower.pop_back()
111111 upper.pop_back()
112112 return lower + upper