Box2D
3.0.0
A Real-Time-Oriented 2-D Physics Engine
|
Index 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 | index = InvalidIndex |
Static Public Attributes | |
static constexpr distance_type | InvalidDistance = MaxFloat |
static constexpr index_type | InvalidIndex = static_cast<index_type>(-1) |
Index separation.
This structure is used to keep track of the best separating axis.
using box2d::IndexSeparation::index_type = std::remove_const<decltype(MaxShapeVertices)>::type |
index_type box2d::IndexSeparation::index = InvalidIndex |
|
static |
|
static |
distance_type box2d::IndexSeparation::separation = InvalidDistance |