Smoothstep


This function has been removed in release 10.0.0. Use ntl::Smoothstep function instead.

Return smoothed step function value. This function is an C++ analogue of GLSL smoothstep function.

float Smoothstep(const float edge0, const float edge1, const float x);
Vector Smoothstep(const Vector &edge0, const Vector &edge1, const Vector &x);
Namespace: nitisa
Include: Nitisa/Core/Math/Utils.h (For float arguments)
Nitisa/Core/Math/VectorUtils.h (For Vector arguments)