Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions playdate/math.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
local module = {}
playdate.math = module

function module.lerp(min, max, t)
return min + t * (max - min)
end
1 change: 1 addition & 0 deletions playdate/playdate.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ playdate = module

require("playbit.geometry")
require("playdate.metadata")
require("playdate.math")
require("playdate.sound")
require("playdate.file")
require("playdate.datastore")
Expand Down