Fix Polygon ctor ignoring capacity argument (closes #14).

This commit is contained in:
wo80
2022-02-13 13:26:47 +01:00
parent f727bcf7f5
commit e8cebc3945
+1 -1
View File
@@ -69,7 +69,7 @@ namespace TriangleNet.Geometry
/// </summary>
/// <param name="capacity">The default capacity for the points list.</param>
public Polygon(int capacity)
: this(3, false)
: this(capacity, false)
{
}