mirror of
https://github.com/SashLilac/cambridge.git
synced 2025-05-13 20:21:25 -05:00
Initial 3D blocks support
This commit is contained in:
29
load/cpml.lua
Normal file
29
load/cpml.lua
Normal file
@@ -0,0 +1,29 @@
|
||||
-- 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
|
||||
Reference in New Issue
Block a user