diff --git a/Engine.Physics2D/Primitives/Shape.cs b/Engine.Physics2D/Primitives/Shape.cs index 231e114..3d1dc87 100644 --- a/Engine.Physics2D/Primitives/Shape.cs +++ b/Engine.Physics2D/Primitives/Shape.cs @@ -7,7 +7,7 @@ namespace Syntriax.Engine.Physics2D.Primitives; public record Shape(IList Vertices) { - public Vector2D this[int index] => Vertices[index]; + public Vector2D this[Index index] => Vertices[index]; public static Triangle GetSuperTriangle(Shape shape) {