math library.
| Function | Description |
|---|---|
math.clamp(v, min, max) | Clamp value |
math.lerp(a, b, t) | Linear interpolation |
math.round(v) | Round to nearest integer |
math.remap(v, a1, b1, a2, b2) | Remap from one range to another |
math.normalize_angle(a) | Normalize to -180..180 |
math.calc_angle(from, to) | Angle between two world positions |