Blender V5.0
btSequentialImpulseConstraintSolver.cpp File Reference

Go to the source code of this file.

Functions

static btScalar gResolveSingleConstraintRowGeneric_scalar_reference (btSolverBody &bodyA, btSolverBody &bodyB, const btSolverConstraint &c)
static btScalar gResolveSingleConstraintRowLowerLimit_scalar_reference (btSolverBody &bodyA, btSolverBody &bodyB, const btSolverConstraint &c)
static btScalar gResolveSplitPenetrationImpulse_scalar_reference (btSolverBody &bodyA, btSolverBody &bodyB, const btSolverConstraint &c)
static btScalar gResolveSplitPenetrationImpulse_sse2 (btSolverBody &bodyA, btSolverBody &bodyB, const btSolverConstraint &c)

Variables

int gNumSplitImpulseRecoveries = 0

Function Documentation

◆ gResolveSingleConstraintRowGeneric_scalar_reference()

btScalar gResolveSingleConstraintRowGeneric_scalar_reference ( btSolverBody & bodyA,
btSolverBody & bodyB,
const btSolverConstraint & c )
static

This is the scalar reference implementation of solving a single constraint row, the innerloop of the Projected Gauss Seidel/Sequential Impulse constraint solver Below are optional SSE2 and SSE4/FMA3 versions. We assume most hardware has SSE2. For SSE4/FMA3 we perform a CPU feature check.

Definition at line 47 of file btSequentialImpulseConstraintSolver.cpp.

References btSolverBody, btSolverConstraint, and sum().

Referenced by getScalarConstraintRowSolverGeneric(), and setupSolverFunctions().

◆ gResolveSingleConstraintRowLowerLimit_scalar_reference()

btScalar gResolveSingleConstraintRowLowerLimit_scalar_reference ( btSolverBody & bodyA,
btSolverBody & bodyB,
const btSolverConstraint & c )
static

◆ gResolveSplitPenetrationImpulse_scalar_reference()

btScalar gResolveSplitPenetrationImpulse_scalar_reference ( btSolverBody & bodyA,
btSolverBody & bodyB,
const btSolverConstraint & c )
static

◆ gResolveSplitPenetrationImpulse_sse2()

Variable Documentation

◆ gNumSplitImpulseRecoveries

int gNumSplitImpulseRecoveries = 0