Box2D
3.0.0
A Real-Time-Oriented 2-D Physics Engine
|
Index pair. More...
#include <IndexPair.hpp>
Public Types | |
using | size_type = std::remove_const< decltype(MaxShapeVertices)>::type |
Size type. More... | |
Public Attributes | |
size_type | a |
Index of vertex from shape A. More... | |
size_type | b |
Index of vertex from shape B. More... | |
Static Public Attributes | |
static constexpr size_type | InvalidIndex = static_cast<size_type>(-1) |
Index pair.
using box2d::IndexPair::size_type = std::remove_const<decltype(MaxShapeVertices)>::type |
Size type.
Must be big enough to hold max posible count of vertices.
size_type box2d::IndexPair::a |
Index of vertex from shape A.
size_type box2d::IndexPair::b |
Index of vertex from shape B.