Add some scratch bits of code that may one day be useful.

This commit is contained in:
Anna Rose Wiggins 2021-07-22 13:38:19 -04:00
parent a6fe8839cd
commit cea195a85b
2 changed files with 24 additions and 0 deletions

9
scratch/math.ks Normal file
View file

@ -0,0 +1,9 @@
@lazyglobal off.
function Bound {
parameter minB.
parameter maxB.
parameter value.
return min(max(value, minB), maxB).
}