Module math

Source

Functions§

clamp
Clamp a value to a range.
fmod
Models the CPP fmod function.
in_range
Check if value is in range.
lerp
Interpolate from start to stop ‘amt’ amount.
map_range
Map a value from a given range to a new given range.
modulo
The modulo function.
remainder
Models the CPP remainder function.
sigmoid
The logistic aka sigmoid function.
wrap
Wrap value to a range.