blob: eef51d886bed3dc21496fa3544a98aade224ef6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#pragma once
namespace floormat {
enum class collision_type : unsigned char {
none, object, scenery, geometry,
};
constexpr inline size_t collision_data_BITS = 60;
struct collision_data final {
uint64_t type : 2;
uint64_t pass : 2;
uint64_t id : collision_data_BITS;
bool operator==(const collision_data&) const noexcept;
};
} // namespace floormat
|