smoothstep

fun smoothstep(edge0: Double, edge1: Double, x: Double): Double

Smoothstep

Return

a mapped value in the interval 0, 1

Parameters

edge0
edge1
x
@JvmName(name = "doubleSmoothstep")
fun Double.smoothstep(edge0: Double, edge1: Double): Double
fun Vector2.smoothstep(edge0: Vector2, edge1: Vector2): Vector2
fun Vector3.smoothstep(edge0: Vector3, edge1: Vector3): Vector3
fun Vector4.smoothstep(edge0: Vector4, edge1: Vector4): Vector4