|
The Joe Engine
Joe's engine programming playground
|
The Physics Manager class. More...
#include <PhysicsManager.h>
Public Member Functions | |
| JEPhysicsManager () | |
| Constructor. More... | |
| ~JEPhysicsManager ()=default | |
| Destructor (default). More... | |
| void | Initialize () |
| Initialize the class. More... | |
| void | UpdateParticleSystems (std::vector< JEParticleSystem > &particleSystems) |
| Update particle systems. More... | |
The Physics Manager class.
Class dedicated to making physics calculations at a framerate that is decoupled from the rendering framerate. Currently only used for particle system calculations.s
|
inline |
Constructor.
Initializes update rate member variables.
|
default |
Destructor (default).
| void JoeEngine::JEPhysicsManager::Initialize | ( | ) |
Initialize the class.
| void JoeEngine::JEPhysicsManager::UpdateParticleSystems | ( | std::vector< JEParticleSystem > & | particleSystems | ) |
Update particle systems.
Performs an update on each provided particle system, if at least 'm_updateRateMillis' milliseconds have elapsed since the last update.
| particleSystems | the list of particle systems to update. |