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

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

#include <StepStats.hpp>

Collaboration diagram for playrho::RegStepStats:
[legend]

Public Types

using counter_type = std::uint32_t
 Counter type.
 

Public Attributes

Length minSeparation = std::numeric_limits<Length>::infinity()
 Min separation.
 
Momentum maxIncImpulse = 0
 Max incremental impulse.
 
BodyCounter islandsFound = 0
 Islands found count.
 
BodyCounter islandsSolved = 0
 Islands solved count.
 
counter_type contactsAdded = 0
 Contacts added count.
 
counter_type bodiesSlept = 0
 Bodies slept count.
 
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.

Note
This data structure is 32-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: