refactor: int to Index for Shape Accessor
This commit is contained in:
@@ -7,7 +7,7 @@ namespace Syntriax.Engine.Physics2D.Primitives;
|
||||
|
||||
public record Shape(IList<Vector2D> Vertices)
|
||||
{
|
||||
public Vector2D this[int index] => Vertices[index];
|
||||
public Vector2D this[Index index] => Vertices[index];
|
||||
|
||||
public static Triangle GetSuperTriangle(Shape shape)
|
||||
{
|
||||
|
Reference in New Issue
Block a user