mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-13 22:38:27 +00:00
Simplify implementation of Flip
This commit is contained in:
parent
ee6f74a104
commit
0be4d5dacb
@ -10,10 +10,7 @@ pub trait FlipExt {
|
|||||||
fn flip(self) -> Flip;
|
fn flip(self) -> Flip;
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<T> FlipExt for &T
|
impl FlipExt for &Face {
|
||||||
where
|
|
||||||
T: OperationOutput<Face>,
|
|
||||||
{
|
|
||||||
fn flip(self) -> Flip {
|
fn flip(self) -> Flip {
|
||||||
let output = Handle::new(Face::new(
|
let output = Handle::new(Face::new(
|
||||||
self.output().surface().flip(),
|
self.output().surface().flip(),
|
||||||
|
Loading…
Reference in New Issue
Block a user