Smart Vector Table

API that adds a way to create tables indexed by 3D Vectors.

API / Library

Download (12 KB)

How do I install this?

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.

Reviews

Review

Do you recommend this mod?

  • No reviews, yet.

Used By