fix: ShapeExtensions.CreateCopy not having this Keyword

This commit is contained in:
Syntriax 2024-01-27 21:21:35 +03:00
parent 2ca243d79c
commit 11483231a5
1 changed files with 1 additions and 1 deletions

View File

@ -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);