summaryrefslogtreecommitdiffhomepage
path: root/src/light-falloff.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/light-falloff.hpp')
-rw-r--r--src/light-falloff.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/light-falloff.hpp b/src/light-falloff.hpp
index f814cc5f..849ad92b 100644
--- a/src/light-falloff.hpp
+++ b/src/light-falloff.hpp
@@ -3,10 +3,9 @@
namespace floormat {
enum class light_falloff : uint8_t {
- constant = 1, linear = 0, quadratic = 2,
+ constant = 1, linear = 0, quadratic = 2, COUNT,
};
-constexpr inline light_falloff light_falloff_COUNT{3};
constexpr inline uint8_t light_falloff_BITS = 3;
constexpr inline uint8_t light_falloff_MASK = (1 << light_falloff_BITS)-1;