28 : id(id_), p1(p1_), p2(p2_), p3(p3_)
34 return id == other.
id && p1 == other.
p1 && p2 == other.
p2;
40 size_t h1 = std::hash<int>{}(
static_cast<int>(key.id));
41 size_t h2 = std::hash<float>{}(key.p1);
42 size_t h3 = std::hash<float>{}(key.p2);
43 size_t h4 = std::hash<float>{}(key.p3);
44 return h1 ^ (h2 ^ (h3 ^ h4));
Defines geometry namespace.
const float DodecahedronL2R
const float IcosahedronL2R
std::size_t operator()(const Key &key) const noexcept
Key(BaseShape, float=0.0f, float=0.0f, float=0.0f)
bool operator==(Key const &) const