fix: ShapeExtensions.CreateCopy not having this Keyword
This commit is contained in:
parent
2ca243d79c
commit
11483231a5
|
@ -140,7 +140,7 @@ public readonly struct Shape(IList<Vector2D> Vertices) : IEnumerable<Vector2D>
|
|||
|
||||
public static class ShapeExtensions
|
||||
{
|
||||
public static Shape CreateCopy(Shape shape) => Shape.CreateCopy(shape);
|
||||
public static Shape CreateCopy(this Shape shape) => Shape.CreateCopy(shape);
|
||||
public static Triangle ToSuperTriangle(this Shape shape) => Shape.GetSuperTriangle(shape);
|
||||
public static void ToLines(this Shape shape, IList<Line> lines) => Shape.GetLines(shape, lines);
|
||||
public static List<Line> ToLines(this Shape shape) => Shape.GetLines(shape);
|
||||
|
|
Loading…
Reference in New Issue