PxClamp

Defined in include/foundation/PxMath.h

template<class T>
inline T PxClamp(T v, T lo, T hi)

Clamps v to the range [hi,lo].