Skip to content

smoothstep beta ​

Function of @v12-engine/engine

ts
smoothstep: (from: number, to: number, x: number) => number

0 at from and before, 1 at to and after, eased in and out between: a shader's smoothstep