diff --git a/Engine.Core/Primitives/Line2D.cs b/Engine.Core/Primitives/Line2D.cs index 7b9a4cf..e5c2022 100644 --- a/Engine.Core/Primitives/Line2D.cs +++ b/Engine.Core/Primitives/Line2D.cs @@ -202,6 +202,9 @@ public static class Line2DExtensions /// public static bool Intersects(this Line2D line, Vector2D point) => Line2D.Intersects(line, point); + /// + public static Vector2D IntersectionPoint(this Line2D left, Line2D right) => Line2D.IntersectionPoint(left, right); + /// public static float GetT(this Line2D line, Vector2D point) => Line2D.GetT(line, point);