mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-07 03:18:30 +00:00
Update name of function
This commit is contained in:
parent
a2e1118422
commit
843e74eff6
@ -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 }
|
||||
}
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user