From 1d9c523cb21ec3687f4ea358f247769c91220a84 Mon Sep 17 00:00:00 2001 From: Evan Hemsley Date: Sun, 1 Dec 2019 23:17:42 -0800 Subject: [PATCH] todo note --- Bonk/Shapes/Polygon.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }