Blender V2.61 - r43446
Functions

btMinMax.h File Reference

#include "LinearMath/btScalar.h"

Go to the source code of this file.

Functions

template<class T >
SIMD_FORCE_INLINE const T & btMin (const T &a, const T &b)
template<class T >
SIMD_FORCE_INLINE const T & btMax (const T &a, const T &b)
template<class T >
SIMD_FORCE_INLINE const T & btClamped (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

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

Definition at line 59 of file btMinMax.h.

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

Definition at line 35 of file btMinMax.h.

Referenced by btRigidBody::setDamping().

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

Definition at line 50 of file btMinMax.h.

Referenced by ATTRIBUTE_ALIGNED16(), and calcRollingFriction().

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

Definition at line 41 of file btMinMax.h.

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