mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-09 12:28:29 +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;
|
||||
|
||||
pub trait FlipExt {
|
||||
fn flip(self) -> Face;
|
||||
fn flip(self) -> Handle<Face>;
|
||||
}
|
||||
|
||||
impl FlipExt for Handle<Face> {
|
||||
fn flip(self) -> Face {
|
||||
Face::new(self.surface().flip(), self.vertices().cloned())
|
||||
fn flip(self) -> Handle<Face> {
|
||||
Handle::new(Face::new(self.surface().flip(), self.vertices().cloned()))
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user