FieldMath namespace

Functions

template<FieldWidth WIDTH>
auto Read(const FloatProxy<WIDTH>& f) -> FORCE_INLINE auto
template<FieldWidth WIDTH>
auto Read(const IntProxy<WIDTH>& f) -> FORCE_INLINE auto
template<FieldWidth WIDTH>
auto Read(const UIntProxy<WIDTH>& f) -> FORCE_INLINE auto
template<FieldWidth WIDTH>
auto Clamp(const FloatProxy<WIDTH>& f, SimFloat lo, SimFloat hi) -> FORCE_INLINE auto
template<FieldWidth WIDTH>
auto Clamp(const IntProxy<WIDTH>& f, int32_t lo, int32_t hi) -> FORCE_INLINE auto
template<FieldWidth WIDTH>
auto Min(const FloatProxy<WIDTH>& f, SimFloat val) -> FORCE_INLINE auto
template<FieldWidth WIDTH>
auto Max(const FloatProxy<WIDTH>& f, SimFloat val) -> FORCE_INLINE auto
template<FieldWidth WIDTH>
auto Min(const FloatProxy<WIDTH>& a, const FloatProxy<WIDTH>& b) -> FORCE_INLINE auto
template<FieldWidth WIDTH>
auto Max(const FloatProxy<WIDTH>& a, const FloatProxy<WIDTH>& b) -> FORCE_INLINE auto
template<FieldWidth WIDTH>
auto Abs(const FloatProxy<WIDTH>& f) -> FORCE_INLINE auto
template<FieldWidth WIDTH>
auto Abs(const IntProxy<WIDTH>& f) -> FORCE_INLINE auto
template<FieldWidth WIDTH>
auto Lerp(const FloatProxy<WIDTH>& a, const FloatProxy<WIDTH>& b, SimFloat t) -> FORCE_INLINE auto
template<FieldWidth WIDTH>
auto Lerp(const FloatProxy<WIDTH>& a, SimFloat target, SimFloat t) -> FORCE_INLINE auto
template<FieldWidth WIDTH>
auto Step(const FloatProxy<WIDTH>& f, SimFloat edge) -> FORCE_INLINE auto
template<FieldWidth WIDTH>
auto SmoothStep(const FloatProxy<WIDTH>& f, SimFloat lo, SimFloat hi) -> FORCE_INLINE auto