Box2D
3.0.0
A Real-Time-Oriented 2-D Physics Engine
|
Index pair separation. More...
#include <ShapeSeparation.hpp>
Public Types | |
using | distance_type = RealNum |
using | index_type = std::remove_const< decltype(MaxShapeVertices)>::type |
Public Attributes | |
distance_type | separation = InvalidDistance |
index_type | index1 = InvalidIndex |
index_type | index2 = InvalidIndex |
Static Public Attributes | |
static constexpr distance_type | InvalidDistance = MaxFloat |
static constexpr index_type | InvalidIndex = static_cast<index_type>(-1) |
Index pair separation.
This structure is used to keep track of the best separating axis.
using box2d::IndexPairSeparation::index_type = std::remove_const<decltype(MaxShapeVertices)>::type |
index_type box2d::IndexPairSeparation::index1 = InvalidIndex |
index_type box2d::IndexPairSeparation::index2 = InvalidIndex |
|
static |
|
static |
distance_type box2d::IndexPairSeparation::separation = InvalidDistance |