> ## Documentation Index
> Fetch the complete documentation index at: https://lua.nlcrack.cc/llms.txt
> Use this file to discover all available pages before exploring further.

# Math

> Extensions to the standard 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 |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.