smootherstep

Smootherstep from edge0 to edge1 at x.

@safe pure nothrow
E
smootherstep
(
E
)
(,,
E x
)
if (
isFloatingPoint!(E)
)

Examples

assert(smootherstep(1.0, 0.0, 2.0) == 0);

Meta