PlayRho  1.1.0
An Interactive Real-Time-Oriented C++ Physics Engine & Library
playrho::ToiStepStats Struct Reference

TOI-phase per-step statistics. More...

#include <StepStats.hpp>

Collaboration diagram for playrho::ToiStepStats:
[legend]

Public Types

using counter_type = std::uint32_t
 Counter type.
 
using dist_iter_type = std::remove_const< decltype(DefaultMaxDistanceIters)>::type
 Distance iteration type.
 
using toi_iter_type = std::remove_const< decltype(DefaultMaxToiIters)>::type
 TOI iteration type.
 
using root_iter_type = std::remove_const< decltype(DefaultMaxToiRootIters)>::type
 Root iteration type.
 

Public Attributes

Length minSeparation = std::numeric_limits<Length>::infinity()
 Min separation.
 
Momentum maxIncImpulse = 0
 Max incremental impulse.
 
counter_type islandsFound = 0
 Islands found count.
 
counter_type islandsSolved = 0
 Islands solved count.
 
counter_type contactsFound = 0
 Contacts found count.
 
counter_type contactsAtMaxSubSteps = 0
 Contacts at max substeps count.
 
counter_type contactsUpdatedToi = 0
 Contacts updated TOI count.
 
counter_type contactsUpdatedTouching = 0
 Contacts updated touching count.
 
counter_type contactsSkippedTouching = 0
 Contacts skipped touching count.
 
counter_type contactsAdded = 0
 Contacts added count.
 
counter_type proxiesMoved = 0
 Proxies moved count.
 
counter_type sumPosIters = 0
 Sum position iterations count.
 
counter_type sumVelIters = 0
 Sum velocity iterations count.
 
counter_type maxSimulContacts = 0
 Max contacts occurring simultaneously.
 
dist_iter_type maxDistIters = 0
 Max distance iterations.
 
toi_iter_type maxToiIters = 0
 Max TOI iterations.
 
root_iter_type maxRootIters = 0
 Max root iterations.
 

Detailed Description

TOI-phase per-step statistics.

Note
This data structure is 60-bytes large (on at least one 64-bit platform with 4-byte Real type).

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