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"))
|
2020-01-31 00:56:37 +00:00
|
|
|
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"))
|
2020-02-05 10:16:23 +00:00
|
|
|
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"))
|
2020-01-31 00:56:37 +00:00
|
|
|
|
|
|
|
async = require(relative_file("async"))
|
2020-02-01 08:30:36 +00:00
|
|
|
|
|
|
|
manual_gc = require(relative_file("manual_gc"))
|