Remove redundant code

This commit is contained in:
Hanno Braun 2025-05-05 12:13:01 +02:00
parent 8599daa570
commit d471132ba5

View File

@ -28,8 +28,7 @@ impl SweptCurve {
pub fn point_from_local(&self, point: impl Into<Point<2>>) -> Point<3> {
let [u, v] = point.into().coords.components;
self.u.point_from_local([u])
+ self.v.vector_from_local_point(Point::from([v]))
self.u.point_from_local([u]) + self.v.vector_from_local_point([v])
}
pub fn project_point(&self, point: impl Into<Point<3>>) -> Point<2> {