Bullet Collision Detection & Physics Library: btMinMax.h File Reference

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

## § btClamp()

template<class T >

void btClamp | ( | T & | a,
|  | const T & | lb,
|  | const T & | ub
| ) |  |
| inline

Definition at line 59 of file btMinMax.h.

## § btClamped()

template<class T >

const T& btClamped | ( | const T & | a,
|  | const T & | lb,
|  | const T & | ub
| ) |  |
| inline

Definition at line 35 of file btMinMax.h.

## § btMax()

template<class T >

const T& btMax | ( | const T & | a,
|  | const T & | b
| ) |  |
| inline

Definition at line 29 of file btMinMax.h.

## § btMin()

template<class T >

const T& btMin | ( | const T & | a,
|  | const T & | b
| ) |  |
| inline

Definition at line 23 of file btMinMax.h.

## § btSetMax()

template<class T >

void btSetMax | ( | T & | a,
|  | const T & | b
| ) |  |
| inline

Definition at line 50 of file btMinMax.h.

## § btSetMin()

template<class T >

void btSetMin | ( | T & | a,
|  | const T & | b
| ) |  |
| inline

Definition at line 41 of file btMinMax.h.