mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-10 21:08:27 +00:00
Prepare to add Flip
operation
This commit is contained in:
parent
a7387eadfc
commit
c25d1167e0
@ -3,11 +3,11 @@ use crate::geometry::Handle;
|
|||||||
use super::face::Face;
|
use super::face::Face;
|
||||||
|
|
||||||
pub trait FlipExt {
|
pub trait FlipExt {
|
||||||
fn flip(self) -> Face;
|
fn flip(self) -> Handle<Face>;
|
||||||
}
|
}
|
||||||
|
|
||||||
impl FlipExt for Handle<Face> {
|
impl FlipExt for Handle<Face> {
|
||||||
fn flip(self) -> Face {
|
fn flip(self) -> Handle<Face> {
|
||||||
Face::new(self.surface().flip(), self.vertices().cloned())
|
Handle::new(Face::new(self.surface().flip(), self.vertices().cloned()))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user