Bullet Collision Detection & Physics Library
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

◆ btClamp()

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

Definition at line 57 of file btMinMax.h.

◆ btClamped()

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

Definition at line 33 of file btMinMax.h.

◆ btMax()

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

Definition at line 27 of file btMinMax.h.

◆ btMin()

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

Definition at line 21 of file btMinMax.h.

◆ btSetMax()

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

Definition at line 48 of file btMinMax.h.

◆ btSetMin()

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

Definition at line 39 of file btMinMax.h.