refactor: int to Index for Shape Accessor

This commit is contained in:
Syntriax 2024-01-24 12:05:29 +03:00
parent 09c63b65df
commit 51b1f79a5d
1 changed files with 1 additions and 1 deletions

View File

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