[Mod] Smart Vector Table [smart_vector_table]

Post Reply
User avatar
Noodlemire
Member
Posts: 61
Joined: Sun May 27, 2018 00:07
GitHub: Noodlemire
In-game: Noodlemire

[Mod] Smart Vector Table [smart_vector_table]

by Noodlemire » Post

This mod adds an API to create tables that accept 3D Vectors as indices in a relatively efficient manner. They're built to be able to handle a large quantity of indices at a time, with no regards to how close or far apart specific vectors are. See the provided api.txt for details about how you use them.

This is actually technically at least two years old now. I initially wrote it for a really specific thing in Voxel Dungeon, but then over time, I found myself wanting to use it for other projects again, and again, and another time...

It doesn't depend on anything at all, not even Minetest's own functions, so you can use it for any Lua-based project if needed, not just a mod.

Repository: https://github.com/Noodlemire/smart_vector_table
Liscense: LGPL 2.1, https://github.com/Noodlemire/smart_vector_table/blob/master/LICENSE.txt
Download: https://mega.nz/file/H3pwlYwa#TgpgWksgCi5WhLH1eP_zZPY1qfWyBfn9xJsAzTsD0G4

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests