openrndr
0.4.5-dev.4.uncommitted+98ebace
common
openrndr-math
/
org.openrndr.math
/
smoothstep
smoothstep
fun
smoothstep
(
edge0
:
Double
,
edge1
:
Double
,
x
:
Double
)
:
Double
(
source
)
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
(
source
)
fun
Vector2
.
smoothstep
(
edge0
:
Vector2
,
edge1
:
Vector2
)
:
Vector2
(
source
)
fun
Vector3
.
smoothstep
(
edge0
:
Vector3
,
edge1
:
Vector3
)
:
Vector3
(
source
)
fun
Vector4
.
smoothstep
(
edge0
:
Vector4
,
edge1
:
Vector4
)
:
Vector4
(
source
)