| 534 | // Linear interpolation: fl::lerp(FP(0.0f), FP(10.0f), FP(0.5f)) → 5.0 |
| 535 | template <typename T> |
| 536 | inline constexpr typename enable_if<is_fixed_point<T>::value, T>::type |
| 537 | lerp(T a, T b, T t) FL_NOEXCEPT { return T::lerp(a, b, t); } |
| 538 | |
| 539 | // Clamp to range: fl::clamp(FP(5.0f), FP(0.0f), FP(3.0f)) → 3.0 |
| 540 | template <typename T> |
no outgoing calls
no test coverage detected