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

Per-step statistics. More...

#include <StepStats.hpp>

Collaboration diagram for playrho::StepStats:
[legend]

Public Attributes

PreStepStats pre
 Pre-phase step statistics.
 
RegStepStats reg
 Reg-phase step statistics.
 
ToiStepStats toi
 TOI-phase step statistics.
 

Detailed Description

Per-step statistics.

These are statistics output from the d2::World::Step method.

Note
This data structure is 116-bytes large (on at least one 64-bit platform with 4-byte Real type).
Efficient transfer of this data is predicated on compiler support for "named-return-value-optimization" (N.R.V.O.) - a form of "copy elision".
See also
d2::World::Step.
https://en.wikipedia.org/wiki/Return_value_optimization
https://en.cppreference.com/w/cpp/language/copy_elision

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