9thAzure / Complex_Shape_Creation

A Godot Engine addon for creating / modifying shapes
MIT License
7 stars 0 forks source link

Fix Inconsistant Width with Corner_Size Between Usage of Drawn_Arc #54

Closed 9thAzure closed 5 months ago

9thAzure commented 5 months ago

This fixes #52 by using the advanced version of add_rounded_corners added in #53. When the node has to draw a ring shape, instead of rounding the shape first, then making it a ring, the node now makes it a ring, then rounds it.

The static add_rounded_corners method in RegularPolygon2D has an additional optional variable to allow this to happen. It has also been restructured to use add_rounded_corners in the RegularGeometry2D class.