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

Per-step statistics. More...

#include <playrho/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 function.

Note
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: