Blender V4.3
btMinMax.h File Reference
#include "btScalar.h"

Go to the source code of this file.

Functions

template<class T >
SIMD_FORCE_INLINE const TbtMin (const T &a, const T &b)
 
template<class T >
SIMD_FORCE_INLINE const TbtMax (const T &a, const T &b)
 
template<class T >
SIMD_FORCE_INLINE const TbtClamped (const T &a, const T &lb, const T &ub)
 
template<class T >
SIMD_FORCE_INLINE void btSetMin (T &a, const T &b)
 
template<class T >
SIMD_FORCE_INLINE void btSetMax (T &a, const T &b)
 
template<class T >
SIMD_FORCE_INLINE void btClamp (T &a, const T &lb, const T &ub)
 

Function Documentation

◆ btClamp()

template<class T >
SIMD_FORCE_INLINE void btClamp ( T & a,
const T & lb,
const T & ub )

Definition at line 57 of file btMinMax.h.

Referenced by applyDeltaVeeMultiDof(), and assignConstraintsToGridBatches().

◆ btClamped()

template<class T >
SIMD_FORCE_INLINE const T & btClamped ( const T & a,
const T & lb,
const T & ub )

Definition at line 33 of file btMinMax.h.

Referenced by setAngularDamping(), btRigidBody::setDamping(), and setLinearDamping().

◆ btMax()

template<class T >
SIMD_FORCE_INLINE const T & btMax ( const T & a,
const T & b )

Definition at line 27 of file btMinMax.h.

References b.

Referenced by btDeformableLinearElasticityForce::addScaledElasticForce(), btDeformableNeoHookeanForce::addScaledElasticForce(), btRigidBody::applyDamping(), btSoftBody::applyRepulsionForce(), assignConstraintsToGridBatches(), btDefaultCollisionConfiguration::btDefaultCollisionConfiguration(), btSoftBodyRigidBodyCollisionConfiguration::btSoftBodyRigidBodyCollisionConfiguration(), calcArea4Points(), calculateNormalCone(), btDbvtBroadphase::collide(), btSoftBodyHelpers::CreateFromTriMesh(), debugDrawPhase(), GJK< btConvexTemplate >::Evaluate(), gjkepa2_impl::GJK::Evaluate(), EPA< btConvexTemplate >::getedgedist(), gjkepa2_impl::EPA::getedgedist(), getmaxdepth(), btSphereBoxCollisionAlgorithm::getSphereDistance(), btKrylovSolver< MatrixX >::norm(), btSoftColliders::CollideCL_SS::Process(), btSoftColliders::CollideVF_SS::Process(), btRigidBody::setDamping(), btDeformableContactProjection::setProjection(), setupSpatialGridBatchesMt(), singularValueDecomposition(), btSoftBody::solveClusters(), solveConstraintObsolete(), solveDeformableGroupIterations(), solveGroupCacheFriendlySplitImpulseIterations(), solveGroupCacheFriendlySplitImpulseIterations(), btDeformableContactProjection::solveSplitImpulse(), TestTriangleAgainstAabb2(), btDeformableLinearElasticityForce::totalDampingEnergy(), btDeformableMassSpringForce::totalDampingEnergy(), btDeformableNeoHookeanForce::totalDampingEnergy(), btDeformableContactProjection::update(), btDeformableBodySolver::updateVelocity(), and writeGrainSizes().

◆ btMin()

◆ btSetMax()

template<class T >
SIMD_FORCE_INLINE void btSetMax ( T & a,
const T & b )

Definition at line 48 of file btMinMax.h.

References b.

Referenced by calcRollingFriction(), setMax(), and setMax().

◆ btSetMin()

template<class T >
SIMD_FORCE_INLINE void btSetMin ( T & a,
const T & b )

Definition at line 39 of file btMinMax.h.

References b.

Referenced by btRayAabb(), calcRollingFriction(), setMin(), and setMin().