PlayRho  2.0.0
An interactive physics engine & library.
playrho::d2::Manifold::Conf Struct Reference

Configuration data for manifold calculation. More...

#include <playrho/d2/Manifold.hpp>

Public Attributes

Length linearSlop = DefaultLinearSlop
 Linear slop.
 
Real maxCirclesRatio = DefaultCirclesRatio
 

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.
 

Detailed Description

Configuration data for manifold calculation.

Member Data Documentation

◆ maxCirclesRatio

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().


The documentation for this struct was generated from the following file: