cambridge/load/cpml.lua

30 lines
569 B
Lua
Raw Permalink Normal View History

2022-07-04 23:05:40 -05:00
-- adapted from the init.lua CPML comes with
cpml = {
_LICENSE = "CPML is distributed under the terms of the MIT license. See libs/cpml/LICENSE.md.",
_URL = "https://github.com/excessive/cpml",
_VERSION = "1.2.9",
_DESCRIPTION = "Cirno's Perfect Math Library: Just about everything you need for 3D games. Hopefully."
}
local files = {
"bvh",
"color",
"constants",
"intersect",
"mat4",
"mesh",
"octree",
"quat",
"simplex",
"utils",
"vec2",
"vec3",
"bound2",
"bound3"
}
for _, file in ipairs(files) do
cpml[file] = require('libs.cpml.' .. file)
end