Update name of function

This commit is contained in:
Hanno Braun 2025-04-08 11:26:06 +02:00
parent a2e1118422
commit 843e74eff6
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ pub struct SweptCurve {
}
impl SweptCurve {
pub fn from_points([a, b, c]: [Point<3>; 3]) -> Self {
pub fn plane_from_points([a, b, c]: [Point<3>; 3]) -> Self {
let (curve, _) = Line::from_points([a, b]);
Self { curve, path: c - a }
}

View File

@ -112,7 +112,7 @@ fn build_single_connecting_face(
};
let surface = Handle::new(Surface {
geometry: Box::new(SweptCurve::from_points(
geometry: Box::new(SweptCurve::plane_from_points(
[
&bottom.half_edge.start,
bottom.end_vertex,