Remove redundant variable

This commit is contained in:
Hanno Braun 2025-04-28 13:55:22 +02:00
parent 95eacf1b09
commit cc8e122a39

View File

@ -51,8 +51,6 @@ impl AnchoredCurve {
}
pub fn translate(&self, offset: impl Into<Vector<3>>) -> Self {
let offset = offset.into();
Self {
origin: Transform::translation(offset)
.transform_point(&self.origin),