diff --git a/Bonk/Shapes/Polygon.cs b/Bonk/Shapes/Polygon.cs index 1198960..877f8c0 100644 --- a/Bonk/Shapes/Polygon.cs +++ b/Bonk/Shapes/Polygon.cs @@ -19,7 +19,7 @@ namespace MoonTools.Core.Bonk public IEnumerable Vertices { get { return vertices == null ? Enumerable.Empty() : vertices; } } // vertices are local to the origin - public Polygon(params Position2D[] vertices) + public Polygon(params Position2D[] vertices) // TODO: remove this, params is bad because it allocates an array { this.vertices = ImmutableArray.Create(vertices); }