mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-30 02:43:00 +00:00
Starbeamrainbowlabs
f32d8588e0
Together, these classes provide a way to represent a mesh of faces generated from the Minetest world. This way, the generation of a mesh can be abstracted away from any potential output file writers, thereby allowing for multiple different output file formats to be supported.
23 lines
1.4 KiB
Lua
23 lines
1.4 KiB
Lua
-- ████████ █████ ██████ ██ ███████ ███████
|
|
-- ██ ██ ██ ██ ██ ██ ██ ██
|
|
-- ██ ███████ ██████ ██ █████ ███████
|
|
-- ██ ██ ██ ██ ██ ██ ██ ██
|
|
-- ██ ██ ██ ██████ ███████ ███████ ███████
|
|
|
|
-- Functions that operate on tables.
|
|
-- Lua doesn't exactly come with batteries included, so this is quite an
|
|
-- extensive collection of functions :P
|
|
|
|
-- TODO: Refactor into its own worldeditadditions.tables namespace.
|
|
worldeditadditions.tables = {}
|
|
|
|
dofile(worldeditadditions.modpath.."/utils/tables/sets.lua")
|
|
dofile(worldeditadditions.modpath.."/utils/tables/shallowcopy.lua")
|
|
dofile(worldeditadditions.modpath.."/utils/tables/table_apply.lua")
|
|
dofile(worldeditadditions.modpath.."/utils/tables/table_filter.lua")
|
|
dofile(worldeditadditions.modpath.."/utils/tables/table_get_last.lua")
|
|
dofile(worldeditadditions.modpath.."/utils/tables/table_map.lua")
|
|
dofile(worldeditadditions.modpath.."/utils/tables/table_tostring.lua")
|
|
dofile(worldeditadditions.modpath.."/utils/tables/table_unique.lua")
|
|
dofile(worldeditadditions.modpath.."/utils/tables/table_unpack.lua")
|
|
dofile(worldeditadditions.modpath.."/utils/tables/table_contains.lua")
|