summaryrefslogtreecommitdiffhomepage
path: root/src/light-falloff.hpp
blob: 849ad92bb7af08959334474a35b5be3557e404d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

namespace floormat {

enum class light_falloff : uint8_t {
    constant = 1, linear = 0, quadratic = 2, COUNT,
};

constexpr inline uint8_t light_falloff_BITS = 3;
constexpr inline uint8_t light_falloff_MASK = (1 << light_falloff_BITS)-1;

} // namespace floormat