Blender  V3.3
Functions
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.

References Freestyle::a.

Referenced by 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.

References Freestyle::a.

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 Freestyle::a, and usdtokens::b().

Referenced by btDeformableLinearElasticityForce::addScaledElasticForce(), btDeformableNeoHookeanForce::addScaledElasticForce(), btRigidBody::applyDamping(), btSoftBody::applyRepulsionForce(), assignConstraintsToGridBatches(), btDefaultCollisionConfiguration::btDefaultCollisionConfiguration(), btSoftBodyRigidBodyCollisionConfiguration::btSoftBodyRigidBodyCollisionConfiguration(), calcArea4Points(), calculateNormalCone(), btSoftBodyHelpers::CreateFromTriMesh(), debugDrawPhase(), GJK< btConvexTemplate >::Evaluate(), gjkepa2_impl::GJK::Evaluate(), gjkepa2_impl::EPA::getedgedist(), EPA< btConvexTemplate >::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(), btDeformableContactProjection::solveSplitImpulse(), TestTriangleAgainstAabb2(), btDeformableLinearElasticityForce::totalDampingEnergy(), btDeformableMassSpringForce::totalDampingEnergy(), btDeformableNeoHookeanForce::totalDampingEnergy(), btDeformableContactProjection::update(), btDeformableBodySolver::updateVelocity(), and writeGrainSizes().

◆ btMin()

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

◆ btSetMax()

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

Definition at line 48 of file btMinMax.h.

References Freestyle::a, and usdtokens::b().

Referenced by calcRollingFriction(), 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 Freestyle::a, and usdtokens::b().

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