Add new code snippets
This commit is contained in:
4
WA snippets/Size to range.lua
Normal file
4
WA snippets/Size to range.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
aura_env.range = function(val, min, max, max2)
|
||||
val = 1 - (((max - val) / (max - min)) * max2)
|
||||
return val
|
||||
end
|
Reference in New Issue
Block a user