Configuration data for manifold calculation. More...
#include <Manifold.hpp>
Public Attributes | |
Length | linearSlop = DefaultLinearSlop |
Linear slop. | |
Length | targetDepth = DefaultLinearSlop * Real{3} |
Targeted depth of impact. More... | |
Length | tolerance = DefaultLinearSlop / Real{4} |
Tolerance. More... | |
Real | maxCirclesRatio = DefaultCirclesRatio |
Max. circles ratio. More... | |
Related Functions | |
(Note that these are not member functions.) | |
constexpr Manifold::Conf | GetDefaultManifoldConf () noexcept |
Gets the default manifold configuration. | |
Manifold::Conf | GetManifoldConf (const StepConf &conf) noexcept |
Gets the manifold configuration for the given step configuration. | |
Configuration data for manifold calculation.
Real playrho::d2::Manifold::Conf::maxCirclesRatio = DefaultCirclesRatio |
Max. circles ratio.
When the ratio of the closest face's length to the vertex radius is more than this amount, then face-manifolds are forced, else circles-manifolds may be computed for new contact manifolds.
Referenced by playrho::d2::GetManifold().
Length playrho::d2::Manifold::Conf::targetDepth = DefaultLinearSlop * Real{3} |
Targeted depth of impact.
Length playrho::d2::Manifold::Conf::tolerance = DefaultLinearSlop / Real{4} |
Tolerance.
Tolerance.