Box2D
3.0.0
A Real-Time-Oriented 2-D Physics Engine
|
#include <Simplex.hpp>
Public Member Functions | |
Cache ()=default | |
Cache (const Cache ©)=default | |
BOX2D_CONSTEXPR | Cache (RealNum metric, IndexPairs indices) noexcept |
RealNum | GetMetric () const noexcept |
Gets the metric that was set. More... | |
bool | IsMetricSet () const noexcept |
BOX2D_CONSTEXPR IndexPairs | GetIndices () const noexcept |
BOX2D_CONSTEXPR size_type | GetNumIndices () const noexcept |
BOX2D_CONSTEXPR IndexPair | GetIndexPair (size_type index) const noexcept |
Simplex cache.
Used to warm start Distance. Caches particular information from a simplex - a related metric and up-to 3 index pairs.
|
default |
|
default |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Gets the metric that was set.
|
inlinenoexcept |
|
inlinenoexcept |