core/math library

Functions

lerp(double start, double stop, double amount) → double
Linear interpolation between start and stop by amount. amount between 0 and 1, inclusive.
signum(double num) → int
Returns 1 if num > 0, -1 if num < 0, and 0 if num = 0