Allow arbitrary points in Polygon
Closed this issue · 2 comments
Dvergar commented
Polygon.create([a1, b1, a2, b2...]) and another name for perfect polygon types by number of sides would make more sense.
Triangle.create() could be nice too.
Dvergar commented
Or maybe keeping what we have now and adding Polygon.fromList([a1, b1, a2, b2...])
Dvergar commented
I wasn't aware of new Polygon()
so i updated the samples with one custom shape and added a triangle type in Polygon
.