mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-06 02:48:27 +00:00
Prepare for follow-on change
This commit is contained in:
parent
f65c731e59
commit
e643be2974
@ -29,7 +29,7 @@ impl SweptCurve {
|
||||
|
||||
pub fn point_from_local(&self, point: impl Into<Point<2>>) -> Point<3> {
|
||||
let [u, v] = point.into().coords.components;
|
||||
self.curve.point_from_line_coords([u]) + self.v() * v
|
||||
self.curve.point_from_line_coords(Point::from([u])) + self.v() * v
|
||||
}
|
||||
|
||||
pub fn project_point(&self, point: impl Into<Point<3>>) -> Point<2> {
|
||||
|
Loading…
Reference in New Issue
Block a user