Prepare for follow-on change

This commit is contained in:
Hanno Braun 2024-07-26 18:46:23 +02:00
parent b294ad08c4
commit d4ba69c0da

View File

@ -38,7 +38,8 @@ impl SurfaceGeom {
}
fn path_to_line(&self) -> Line<3> {
Line::from_origin_and_direction(self.u.origin(), self.v)
let Self { u, v } = self;
Line::from_origin_and_direction(u.origin(), *v)
}
/// Project the global point into the surface