22 #ifndef AGXFN_MATH_CLAMP_H 23 #define AGXFN_MATH_CLAMP_H 36 namespace agx {
namespace Math { } }
51 template <
typename AutoT1,
typename AutoT2,
typename AutoT3,
typename AutoT4>
65 template <
typename AutoT1,
typename AutoT2,
typename AutoT3,
typename AutoT4>
90 template <
typename AutoT1,
typename AutoT2,
typename AutoT3,
typename AutoT4>
118 template <
typename AutoT1,
typename AutoT2,
typename AutoT3,
typename AutoT4>
146 template <
typename AutoT1,
typename AutoT2,
typename AutoT3,
typename AutoT4>
174 template <
typename AutoT1,
typename AutoT2,
typename AutoT3,
typename AutoT4>
Vec3T< T > min(const Vec3T< T > &lhs, const Vec3T< T > &rhs)
Vec3T< T > max(const Vec3T< T > &lhs, const Vec3T< T > &rhs)
void Clamp(const agx::RangeJob &job, agxData::Array< AutoT1 > &result, const agxData::Array< AutoT2 > &value, const agxData::Array< AutoT3 > &min, const AutoT4 &max)
Function: Math.Clamp Implementation: (default)
Type-specific Array used for fast access into the data held by a Buffer.
A range job executes a kernel implementation on a subset of the data.
Namespace agx contains the dynamics/math part of the AGX Dynamics API.
void Clamp(AutoT1 &result, const AutoT2 &value, const AutoT3 &min, const AutoT4 &max)
Function: Math.Clamp Implementation: (default)
T1 clamp(T1 v, T2 minimum, T3 maximum)