Prepare for follow-on change

This commit is contained in:
Hanno Braun 2024-07-26 18:55:40 +02:00
parent 3ed5c4006d
commit 8af9f2fe87

View File

@ -39,7 +39,8 @@ impl SweepSurfacePath for SurfacePath {
path: impl Into<Vector<3>>,
core: &mut Core,
) -> Handle<Surface> {
match surface.u {
let SurfaceGeom { u, .. } = surface;
match u {
GlobalPath::Circle(_) => {
// Sweeping a `Curve` creates a `Surface`. The u-axis of that
// `Surface` is a `GlobalPath`, which we are computing below.