Mix


Mix arguments.

template<class TYPE>
constexpr TYPE Mix(const TYPE x1, const TYPE x2, const TYPE a);
template<class TYPE>
TVec2<TYPE> Mix(const TVec2<TYPE> &x, const TVec2<TYPE> &y, const TYPE a);
template<class TYPE>
TVec3<TYPE> Mix(const TVec3<TYPE> &x, const TVec3<TYPE> &y, const TYPE a);
template<class TYPE>
TVec4<TYPE> Mix(const TVec4<TYPE> &x, const TVec4<TYPE> &y, const TYPE a);
Namespace: ntl
Include: NTL/Core/Utils.h (For non-object arguments)
NTL/Core/Vec2.h (For TVec2 arguments)
NTL/Core/Vec3.h (For TVec3 arguments)
NTL/Core/Vec4.h (For TVec4 arguments)