diff options
Diffstat (limited to 'core')
| -rw-r--r-- | core/math.nom | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/math.nom b/core/math.nom index f7a0afb..088da12 100644 --- a/core/math.nom +++ b/core/math.nom @@ -137,6 +137,11 @@ test: $best_key = $key return $best +externally ($ clamped between $min and $max) means: + if ($ < $min): return $min + if ($ > $max): return $max + return $ + # Random functions externally (seed random with $) means: lua> (" |
