Skip to content

shz_smoothstepf

Markdown
SHZ_INLINE float shz_smoothstepf(float x, float edge0, float edge1) SHZ_NOEXCEPT;

Returns 0.0f at/below edge0, 1.0f at/above edge1, smoothly varying in-between. edge0 must be less than edge1 or result is undefined.

NameTypeDescription
xfloat
edge0float
edge1float

float