mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-26 00:55:50 +00:00
Add PolyChain::reverse
This commit is contained in:
parent
e01e14d4da
commit
17b8b91f63
@ -51,6 +51,12 @@ impl<const D: usize> PolyChain<D> {
|
||||
|
||||
self
|
||||
}
|
||||
|
||||
/// Reverse the order of points in the `PolyChain`
|
||||
pub fn reverse(mut self) -> Self {
|
||||
self.points.reverse();
|
||||
self
|
||||
}
|
||||
}
|
||||
|
||||
impl<const D: usize> Default for PolyChain<D> {
|
||||
|
Loading…
Reference in New Issue
Block a user