Description
Wraps BIS_fnc_lerp.
Syntax
[a, b, alpha, exp] call BIS_fnc_easeIn
Parameters:
a: Number - (Optional, default 0) first point (start)b: Number - (Optional, default 0) second point (end)alpha: Number - (Optional, default 0) original interpolation speedexp: Number - (Optional, default 2) power applied to alpha
Returns: Number - interpolated value
Examples
Example 1
[] call BIS_fnc_easeIn; // returns 0
Example 2
[0, 2, 0.5] call BIS_fnc_easeIn; // returns 0.5
Example 3
([0, 2, 0.5] call BIS_fnc_lerp) == ([0, 2, 0.5, 1] call BIS_fnc_easeIn); // returns true