Modify Earcut and Triangulization Library to Work With Godot::Vector2

Allows use to ease some pain when converting PackedVector2Array
to std::vector<Vector2>.
This commit is contained in:
2025-11-08 09:05:50 -05:00
parent 35a1706e58
commit 2d0408c09e
11 changed files with 34 additions and 77 deletions

View File

@@ -14,12 +14,6 @@ shadow_enabled = true
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_ig7tw")
[node name="Polygon2D" type="Polygon2D" parent="."]
[node name="Polygon2D2" type="Polygon2D" parent="."]
[node name="Polygon2D3" type="Polygon2D" parent="."]
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.99687606, -0.078981146, 0, 0.078981146, 0.99687606, 1.3097496, 0.96856904, 8.280736)
current = true