more built-in centering

This commit is contained in:
🪞👃🪞 2025-01-01 17:43:48 +01:00
parent 8454b95df8
commit a6a4eb80fd
5 changed files with 33 additions and 17 deletions

View file

@ -20,7 +20,7 @@ impl Direction {
Self::East => Self::South,
}
}
/// Return next direction counterclockwise
/// Return next direction counterclockwise01.
pub fn ccw (&self) -> Self {
match self {
Self::North => Self::West,