template<typename T, typename X, typename Y>
requires(X value, X from, X to, Y outFrom, Y outTo,
bool clamp)
{
{ T::mapValue(value, from, to, outFrom, outTo,
clamp) } -> std::convertible_to<Y>;
}
Concept for a static mapValue function.
Definition Lerp.h:28
static constexpr T clamp(const U &iValue, const T &iLower, const T &iUpper)
Make sure that the value remains within its bounds.
Definition Misc.h:34
Concept for a static mapValue function.