NAME
A function of omni::math
OVERLOADS
omni::math::clamp
A function of omni::math
#include <omni/math.hpp>template < typename T > inline const T& omni::math::clamp(const T& value, const T& min_val, const T& max_val)OVERLOADS
template < typename T > inline const T& omni::math::clamp(const T& value, const T& min_val, const T& max_val, const omni::delegate2<bool, T, T>& comp)