batteries/init.lua

36 lines
894 B
Lua
Raw Normal View History

2020-01-29 03:26:28 +00:00
--[[
core modules
if required as the "entire library" (ie by this file), puts everything into
global namespace as it'll presumably be commonly used
if not, several of the modules work as "normal" modules and return a table
for local-friendly use
]]
local path = ...
local function relative_file(p)
return table.concat({path, p}, ".")
end
require(relative_file("oo"))
require(relative_file("math"))
require(relative_file("table"))
require(relative_file("stable_sort"))
require(relative_file("functional"))
sequence = require(relative_file("sequence"))
unique_mapping = require(relative_file("unique_mapping"))
2020-01-29 03:26:28 +00:00
vec2 = require(relative_file("vec2"))
vec3 = require(relative_file("vec3"))
2020-01-29 03:26:28 +00:00
intersect = require(relative_file("intersect"))
state_machine = require(relative_file("state_machine"))
async = require(relative_file("async"))
2020-02-01 08:30:36 +00:00
manual_gc = require(relative_file("manual_gc"))