Skip to content

Commit

Permalink
Update FaceIntersectCommand.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
chuongmep committed Jun 26, 2024
1 parent 77d67f7 commit 10b8aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Test/FaceIntersectCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 10b8aae

Please sign in to comment.