Loading [MathJax]/extensions/tex2jax.js
Jolt Physics
A multi core friendly Game Physics Engine
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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.
 
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
 

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: