summaryrefslogtreecommitdiff
path: root/src/geom
diff options
context:
space:
mode:
authorMartin Haug <mhaug@live.de>2022-05-01 13:21:07 +0200
committerMartin Haug <mhaug@live.de>2022-05-01 14:56:07 +0200
commit84a4961a5dd03072b0e94c715957475d4ae21e4f (patch)
treef23f7b2917943079c12a218de3dd649ef6e590b7 /src/geom
parent5f1499d380e223e7e1b2a8a96eb99e3ec95a56ac (diff)
Outset; fix folding
Diffstat (limited to 'src/geom')
-rw-r--r--src/geom/sides.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/geom/sides.rs b/src/geom/sides.rs
index 255c21ee..f214a1bf 100644
--- a/src/geom/sides.rs
+++ b/src/geom/sides.rs
@@ -128,7 +128,7 @@ impl Side {
}
/// The next side, clockwise.
- pub fn clockwise(self) -> Self {
+ pub fn next_cw(self) -> Self {
match self {
Self::Left => Self::Top,
Self::Top => Self::Right,
@@ -138,7 +138,7 @@ impl Side {
}
/// The next side, counter-clockwise.
- pub fn counter_clockwise(self) -> Self {
+ pub fn next_ccw(self) -> Self {
match self {
Self::Left => Self::Bottom,
Self::Top => Self::Left,