Skip to main content

CellFilterSmoothStep

CellFilterSmoothStep

Adapted from OpenGL spec smoothstep performs smooth Hermite interpolation between 0 and 1 when edge0 < x < edge1. This is useful in cases where a threshold function with a smooth transition is desired.

Kind: global class

CellFilterSmoothStep.from(edge0, edge1, x) ⇒ CellFilterSmoothStep

Kind: static method of CellFilterSmoothStep

ParamTypeDescription
edge0CellFilterSpecifies the value of the lower edge of the Hermite function.
edge1CellFilterSpecifies the value of the upper edge of the Hermite function.
xCellFilterSpecifies the source value for interpolation.