mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 20:26:42 +01:00
more built-in centering
This commit is contained in:
parent
8454b95df8
commit
a6a4eb80fd
5 changed files with 33 additions and 17 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue