43 size_t h1 = std::hash<int>{}(
static_cast<int>(key.id));
44 size_t h2 = std::hash<float>{}(key.p1);
45 size_t h3 = std::hash<float>{}(key.p2);
46 size_t h4 = std::hash<float>{}(key.p3);
47 return h1 ^ (h2 ^ (h3 ^ h4));
@ other
The unit has no enum value defined in here (e.g. when defined as an explicit string)
Defines namespace GUI::RealSpace::GeometricID.
BaseShape
Enum id for basic shapes.
const float DodecahedronL2R
const float IcosahedronL2R
std::size_t operator()(const Key &key) const noexcept
Real shapes will be parameterized by BaseShape enum and possibly two floats.
bool operator==(Key const &) const
Key(BaseShape, float=0.0f, float=0.0f, float=0.0f)