openrndr-math
/
org.openrndr.math
/
smoothstep
smoothstep
fun
smoothstep
(edge0:
Double
, edge1:
Double
, x:
Double
):
Double
Content copied to clipboard
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
Content copied to clipboard
fun
Vector2
.
smoothstep
(edge0:
Vector2
, edge1:
Vector2
):
Vector2
Content copied to clipboard
fun
Vector3
.
smoothstep
(edge0:
Vector3
, edge1:
Vector3
):
Vector3
Content copied to clipboard
fun
Vector4
.
smoothstep
(edge0:
Vector4
, edge1:
Vector4
):
Vector4
Content copied to clipboard