#include <pongasoft/logging/logging.h>
Go to the source code of this file.
|
template<typename T , typename U > |
static T | clamp (const U &iValue, const T &iLower, const T &iUpper) |
| Make sure that the value remains within its bounds. More...
|
|
template<typename T , typename U > |
static T | clampE (const U &value, const T &lower, const T &upper) |
| Same as clamp except it will actually fail/assert in debug mode. More...
|
|
template<typename T , typename U > |
static T | clampRange (const U &iValue, const T &iFrom, const T &iTo) |
| Make sure that the value remains within its bounds. More...
|
|