Jolt Physics
A multi core friendly Game Physics Engine
|
Class used to calculate the total number of velocity and position steps. More...
#include <CalculateSolverSteps.h>
Public Member Functions | |
JPH_INLINE | CalculateSolverSteps (const PhysicsSettings &inSettings) |
Constructor. | |
template<class Type > | |
JPH_INLINE void | operator() (const Type *inObject) |
Combine the number of velocity and position steps for this body/constraint with the current values. | |
JPH_INLINE void | Finalize () |
Must be called after all bodies/constraints have been processed. | |
JPH_INLINE uint | GetNumPositionSteps () const |
Get the results of the calculation. | |
JPH_INLINE uint | GetNumVelocitySteps () const |
Class used to calculate the total number of velocity and position steps.
|
inlineexplicit |
Constructor.
|
inline |
Must be called after all bodies/constraints have been processed.
|
inline |
Get the results of the calculation.
|
inline |
|
inline |
Combine the number of velocity and position steps for this body/constraint with the current values.