Bullet Collision Detection & Physics Library
Functions
btMinMax.h File Reference
#include "btScalar.h"
Include dependency graph for btMinMax.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<class T >
const T & btMin (const T &a, const T &b)
 
template<class T >
const T & btMax (const T &a, const T &b)
 
template<class T >
const T & btClamped (const T &a, const T &lb, const T &ub)
 
template<class T >
void btSetMin (T &a, const T &b)
 
template<class T >
void btSetMax (T &a, const T &b)
 
template<class T >
void btClamp (T &a, const T &lb, const T &ub)
 

Function Documentation

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

Definition at line 59 of file btMinMax.h.

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

Definition at line 35 of file btMinMax.h.

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

Definition at line 29 of file btMinMax.h.

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

Definition at line 23 of file btMinMax.h.

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

Definition at line 50 of file btMinMax.h.

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

Definition at line 41 of file btMinMax.h.