|
Fx2D
A C++20 2D rigid-body physics engine
|
Enumerations | |
| enum | Slot : int { BroadPhase = 0 , NarrowPhase , PositionSolve , Constraints , Integration , VelocityDerive , VelocityPasses , Bookkeeping , StepTotal , SlotCount } |
Functions | |
| bool | enabled () |
| const char * | slot_name (Slot slot) |
| double | ms (Slot slot) |
| std::size_t | steps () |
| void | reset () |
| void | add (Slot slot, double elapsed_ms) |
| void | count_step () |
| enum FxProfile::Slot : int |
| void FxProfile::add | ( | Slot | slot, |
| double | elapsed_ms | ||
| ) |
| void FxProfile::count_step | ( | ) |
| bool FxProfile::enabled | ( | ) |
| double FxProfile::ms | ( | Slot | slot | ) |
| void FxProfile::reset | ( | ) |
| const char * FxProfile::slot_name | ( | Slot | slot | ) |
| std::size_t FxProfile::steps | ( | ) |