mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-04 18:08:26 +00:00
Simplify
This commit is contained in:
parent
21da909b46
commit
8f48c887f3
@ -4,7 +4,7 @@ pub trait TranslateExt {
|
|||||||
fn translate(self, offset: impl Into<Vector<3>>) -> Face;
|
fn translate(self, offset: impl Into<Vector<3>>) -> Face;
|
||||||
}
|
}
|
||||||
|
|
||||||
impl TranslateExt for &Face {
|
impl TranslateExt for Face {
|
||||||
fn translate(self, offset: impl Into<Vector<3>>) -> Face {
|
fn translate(self, offset: impl Into<Vector<3>>) -> Face {
|
||||||
let offset = offset.into();
|
let offset = offset.into();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user