template constexpr inline T getClamped(const T& mValue, const T& mMin, const T& mMax) { assert(mMin < mMax); // remove this
constexpr calculates in compile time. Non static assert in run-time.