From a53766f472c4ace8267675391adff15849a28e71 Mon Sep 17 00:00:00 2001 From: Syntriax Date: Mon, 9 Jun 2025 17:51:34 +0300 Subject: [PATCH] fix: forgotten extension method for Line2D.IntersectionPoint --- Engine.Core/Primitives/Line2D.cs | 3 +++ 1 file changed, 3 insertions(+) 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);