Jamba C++ API 8.0.0
Loading...
Searching...
No Matches
pongasoft::Utils::HasStaticMapValue Concept Reference

Concept for a static mapValue function. More...

#include <Lerp.h>

Concept definition

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

Detailed Description

Concept for a static mapValue function.