Smoothstep


Calculate smooth step function.

template<class TYPE>
constexpr TYPE Smoothstep(const TYPE x, const TYPE edge0, const TYPE edge1);
template<class TYPE>
TVec1<TYPE> Smoothstep(const TVec1<TYPE> &v, const TVec1<TYPE> &edge0, const TVec1<TYPE> &edge1);
template<class TYPE>
TVec2<TYPE> Smoothstep(const TVec2<TYPE> &v, const TVec2<TYPE> &edge0, const TVec2<TYPE> &edge1);
template<class TYPE>
TVec3<TYPE> Smoothstep(const TVec3<TYPE> &v, const TVec3<TYPE> &edge0, const TVec3<TYPE> &edge1);
template<class TYPE>
TVec4<TYPE> Smoothstep(const TVec4<TYPE> &v, const TVec4<TYPE> &edge0, const TVec4<TYPE> &edge1);
Namespace: ntl
Include: NTL/Core/Utils.h (For non-vector arguments)
NTL/Core/Vec1.h (For TVec1 arguments)
NTL/Core/Vec2.h (For TVec2 arguments)
NTL/Core/Vec3.h (For TVec3 arguments)
NTL/Core/Vec4.h (For TVec4 arguments)