Refonte pour utiliser le systeme de GUI #112

Merged
kazhnuz merged 102 commits from feat/gui into master 2022-01-06 19:15:16 +01:00
Showing only changes of commit 01a30e73b2 - Show all commits

View file

@ -56,6 +56,14 @@ function Math.between(num, value1, value2)
return math.min(math.max(num, min), max)
end
function Math.either(bool, val1, val2)
if (bool) then
return val1
else
return val2
end
end
-- VECTOR/DIRECTION functions
-- Easy-to-use function to handle point and motion