Sketcher: rename DeriVector2::crossProdNorm to DeriVector2::crossProdZ

This commit is contained in:
Florian Foinant-Willig
2025-09-30 10:16:50 +02:00
committed by Yorik van Havre
parent f7b4372108
commit f4fe303829
4 changed files with 5 additions and 5 deletions

View File

@@ -174,7 +174,7 @@ TEST_F(ConstraintsTest, tangentBSplineAndArc) // NOLINT
double dprd;
// FIXME: This error is probably too high. Fixing this may require improving the solver,
// however.
EXPECT_NEAR(std::fabs(centerToPoint.crossProdNorm(tangentBSplineAtPoint, dprd))
EXPECT_NEAR(std::fabs(centerToPoint.crossProdZ(tangentBSplineAtPoint, dprd))
/ (centerToPoint.length() * tangentBSplineAtPoint.length()),
1.0,
0.005);