1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2024-12-30 23:17:53 +02:00

more standard argument ordering on clamp (function not used so far)

This commit is contained in:
danielmartin0 2024-10-01 16:50:09 +01:00 committed by Gerkiz
parent 20e4c4f335
commit 11a288c897

View File

@ -18,7 +18,7 @@ Public.pi = math.pi
Public.deg = math.deg
Public.round = math.round
function Public.clamp(min, max, number)
function Public.clamp(number, min, max)
if number < min then
return min
elseif number > max then