Step


This object has been removed in release 10.0.0. Use NTL objects instead.

Return 0 or 1 depending on whether x is less or greater the edge. This function is an C++ analogue of GLSL step function.

template<class TYPE> TYPE Step(const TYPE edge, const TYPE x);
    template<class TYPE> TVec2<TYPE> Step(const TVec2<TYPE> &edge, const TVec2<TYPE> &x);
    template<class TYPE> TVec3<TYPE> Step(const TVec3<TYPE> &edge, const TVec3<TYPE> &x);
    template<class TYPE> TVec4<TYPE> Step(const TVec4<TYPE> &edge, const TVec4<TYPE> &x);
Namespace: nitisa::math
Include: Nitisa/Modules/Math/Utils.h (for scalar arguments)
Nitisa/Modules/Math/Vector.h (for vector arguments)