Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
CalculateSolverSteps Class Reference

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. More...
 
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. More...
 
JPH_INLINE void Finalize ()
 Must be called after all bodies/constraints have been processed. More...
 
JPH_INLINE uint GetNumPositionSteps () const
 Get the results of the calculation. More...
 
JPH_INLINE uint GetNumVelocitySteps () const
 

Detailed Description

Class used to calculate the total number of velocity and position steps.

Constructor & Destructor Documentation

◆ CalculateSolverSteps()

JPH_INLINE CalculateSolverSteps::CalculateSolverSteps ( const PhysicsSettings inSettings)
inlineexplicit

Constructor.

Member Function Documentation

◆ Finalize()

JPH_INLINE void CalculateSolverSteps::Finalize ( )
inline

Must be called after all bodies/constraints have been processed.

◆ GetNumPositionSteps()

JPH_INLINE uint CalculateSolverSteps::GetNumPositionSteps ( ) const
inline

Get the results of the calculation.

◆ GetNumVelocitySteps()

JPH_INLINE uint CalculateSolverSteps::GetNumVelocitySteps ( ) const
inline

◆ operator()()

template<class Type >
JPH_INLINE void CalculateSolverSteps::operator() ( const Type *  inObject)
inline

Combine the number of velocity and position steps for this body/constraint with the current values.


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