|
| static | abs (v) |
| | returns absolute value of v More...
|
| |
| static | acos (v) |
| | returns arc cosine value of v in radians More...
|
| |
| static | asin (v) |
| | returns arc sine value of v in radians More...
|
| |
| static | atan (v) |
| | returns arc tangent value of v in radians More...
|
| |
| static | atan2 (v1, v2) |
| | returns arc tangent value of v1/v2 in radians More...
|
| |
| static | ceil (v) |
| | returns smallest integer >= v More...
|
| |
| static | cos (rad) |
| | returns cosine value of angle rad More...
|
| |
| static | deg (rad) |
| | returns angle in degrees of radians rad More...
|
| |
| static | exp (v) |
| | returns e^v More...
|
| |
| static | floor (v) |
| | returns largest integer <= v More...
|
| |
| static | frexp (v) |
| | returns mantissa [0.5,1) and exponent values of v More...
|
| |
| static | ldexp (v1, v2) |
| | returns v1*2^v2 More...
|
| |
| static | log (v) |
| | returns natural logarithm of v More...
|
| |
| static | log10 (v) |
| | returns logarithm 10 of v More...
|
| |
| static | max (v1,...) |
| | returns maximum in a list of one or more values More...
|
| |
| static | min (v1,...) |
| | returns minimum in a list of one or more values More...
|
| |
| static | mod (v1, v2) |
| | returns remainder of v1/v2 which is v1 - iV2 for some integer i More...
|
| |
| static | pow (v1, v2) |
| | returns v1 raised to the power of v2 More...
|
| |
| static | rad (deg) |
| | returns angle in radians of degrees deg More...
|
| |
| static | random ([n[, u]]) |
| | returns random real [0,1), integer [1,n] or real [1,u] (with n=1) More...
|
| |
| static | randomseed (seed) |
| | sets seed for pseudo-random number generator More...
|
| |
| static | sin (rad) |
| | returns sine value of angle rad More...
|
| |
| static | sqrt (v) |
| | returns square root of v More...
|
| |
| static | tan (rad) |
| | returns tangent value of angle rad More...
|
| |
| static | clamp (val, a, b) |
| |
| static | get_distance (x1, y1, z1, x2, y2, z2) |
| |
| static | random_normalized (a) |
| |
| static | quadratic_formula (a, b, c) |
| |
| static | angle_diff (angle1, angle2) |
| |
| static | recenter (value, center, amplitude) |
| |
| static | recenter_rad (value, center) |
| |
| static | recenter_deg (value, center) |
| |
Lua's built in math library.