lerp
lerp(a, b, fraction) ⇒ number
Linear interpolation between two values controlled by a given fraction
Kind: global function
Param | Type | Description |
---|---|---|
a | number | |
b | number | |
fraction | number | Floating point value between 0 and 1 |
number
Linear interpolation between two values controlled by a given fraction
Kind: global function
Param | Type | Description |
---|---|---|
a | number | |
b | number | |
fraction | number | Floating point value between 0 and 1 |