22 #ifndef PLAYRHO_COLLISION_INDEXPAIR_HPP
23 #define PLAYRHO_COLLISION_INDEXPAIR_HPP
36 using IndexPair = std::pair<VertexCounter, VertexCounter>;
47 using IndexPair3 = std::array<IndexPair, MaxSimplexEdges>;
54 static_assert(
MaxSimplexEdges == 3,
"Invalid assumption about size of MaxSimplexEdges");
86 return pairs.max_size();
90 template <std::
size_t N>
99 template <std::
size_t N>
107 template <std::
size_t N>
118 template <std::
size_t N>
121 return info.firstShape;
125 template <VertexCounter M, std::
size_t N>
128 return std::get<M>(info.secondShape);
152 #endif // PLAYRHO_COLLISION_INDEXPAIR_HPP