blob: 99f8c4a3dd58f117109c6e2bd9097df0fae495e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#pragma once
namespace floormat {
enum class rotation : unsigned char {
N, NE, E, SE, S, SW, W, NW,
};
constexpr inline size_t rotation_BITS = 3;
constexpr inline size_t rotation_MASK = (1 << rotation_BITS)-1;
constexpr inline rotation rotation_COUNT = rotation{1 << rotation_BITS}; // todo! remove
} // namespace floormat
|