Jamba  3.1.0
Misc.h File Reference
#include <pongasoft/logging/logging.h>

Go to the source code of this file.

Namespaces

 pongasoft
 
 pongasoft::Utils
 

Functions

template<typename T , typename U >
static T pongasoft::Utils::clamp (const U &iValue, const T &iLower, const T &iUpper)
 
template<typename T , typename U >
static T pongasoft::Utils::clampE (const U &value, const T &lower, const T &upper)
 
template<typename T , typename U >
static T pongasoft::Utils::clampRange (const U &iValue, const T &iFrom, const T &iTo)