mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-09 12:28:29 +00:00
Prepare for follow-on change
This commit is contained in:
parent
6aa2f35be2
commit
9ca4043d94
@ -141,7 +141,9 @@ impl CurveGeometry for Line<3> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn translate(&self, offset: Vector<3>) -> FloatingCurve {
|
fn translate(&self, offset: Vector<3>) -> FloatingCurve {
|
||||||
let translated = self.transform(&Transform::translation(offset));
|
let line = self;
|
||||||
|
|
||||||
|
let translated = line.transform(&Transform::translation(offset));
|
||||||
Box::new(translated)
|
Box::new(translated)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user