smoothStep

open fun smoothStep(from: Double, to: Double, t: Double): Double
open fun smoothStep(from: Float, to: Float, t: Float): Float

Interpolates between min and max with smoothing at the limits.

Return

The smooth step value.

Parameters

from

The start value.

to

The end value.

t

The interpolation value between the two.