From 10b8aaed8128f16a58ae063adfe0f5b7a450d5ab Mon Sep 17 00:00:00 2001 From: chuongmep <31106432+chuongmep@users.noreply.github.com> Date: Wed, 26 Jun 2024 21:59:11 +0800 Subject: [PATCH] Update FaceIntersectCommand.cs --- Test/FaceIntersectCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Test/FaceIntersectCommand.cs b/Test/FaceIntersectCommand.cs index b0648ee..ce9acf0 100644 --- a/Test/FaceIntersectCommand.cs +++ b/Test/FaceIntersectCommand.cs @@ -149,7 +149,7 @@ private static XYZ Intersection(XYZ A, XYZ B, XYZ P, XYZ Q) { double x = (B2 * C1 - B1 * C2) / determinant; double y = (A1 * C2 - A2 * C1) / determinant; - return new XYZ(x, y,A.Z); + return new XYZ(x, y,P.Z); } }