forked from Apancore.Studio/simple-makes-complex
Update from 22.06.2025: add MapGen mod outline, fix some require() issues
This commit is contained in:
9
mods/API/Math/init.lua
Normal file
9
mods/API/Math/init.lua
Normal file
@@ -0,0 +1,9 @@
|
||||
local math = math
|
||||
|
||||
math.lerp = function (a, b, t)
|
||||
return a + (b - a) * t
|
||||
end
|
||||
|
||||
math.clamp = function(value, min, max)
|
||||
return math.min(math.max(value, min), max)
|
||||
end
|
||||
1
mods/API/Math/mod.conf
Normal file
1
mods/API/Math/mod.conf
Normal file
@@ -0,0 +1 @@
|
||||
name = api__math
|
||||
Reference in New Issue
Block a user