Blender  V2.93
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 
)

◆ 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.

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.

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