Module ludomath::num
[−]
[src]
A small collection of numeric functions.
Functions
clamp |
Clamps |
inv_sqrt |
Quickly, but roughly, approximates 1/sqrt(x). |
lerp |
Linearly interpolates from |
lerp_clamped |
Linearly inpterpolates from |
modulo |
Calculates |
range_map |
Maps a value relative to some range to the corresponding value relative to another range. |