Improvements to axis handling (#6530)

Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
Nick Cameron
2025-04-29 08:29:22 +12:00
committed by GitHub
parent 94452cce88
commit d96a4d3337
93 changed files with 3216 additions and 3209 deletions

View File

@ -1368,7 +1368,7 @@ pub(crate) async fn inner_start_profile(
adjust_camera: false,
planar_normal: if let SketchSurface::Plane(plane) = &sketch_surface {
// We pass in the normal for the plane here.
let normal = plane.x_axis.cross(&plane.y_axis);
let normal = plane.x_axis.axes_cross_product(&plane.y_axis);
Some(normal.into())
} else {
None