PlayRho  2.0.0
An interactive physics engine & library.
playrho::RegStepStats Struct Reference

Regular-phase per-step statistics. More...

#include <playrho/StepStats.hpp>

Public Types

using counter_type = std::uint32_t
 Counter type.
 

Public Attributes

BodyCounter bodiesSlept = 0
 Bodies slept count.
 
counter_type contactsAdded = 0
 Contacts added count.
 
counter_type contactsSkipped = 0
 Count of contacts not-needing update.
 
counter_type contactsUpdated = 0
 Count of contacts updated.
 
BodyCounter islandsFound = 0
 Islands found count.
 
BodyCounter islandsSolved = 0
 Islands solved count.
 
Momentum maxIncImpulse = 0_Ns
 Max incremental impulse.
 
BodyCounter maxIslandBodies = 0
 Max bodies in all of the islands.
 
Length minSeparation = std::numeric_limits<Length>::infinity()
 Min separation.
 
counter_type proxiesMoved = 0
 Proxies moved count.
 
counter_type sumPosIters = 0
 Sum of the position iterations.
 
counter_type sumVelIters = 0
 Sum of the velocity iterations.
 

Related Functions

(Note that these are not member functions.)

RegStepStatsUpdate (RegStepStats &lhs, const IslandStats &rhs) noexcept
 Updates regular-phase per-step statistics with island statistics.
 

Detailed Description

Regular-phase per-step statistics.


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