1
0
mirror of https://github.com/HybridDog/vector_extras.git synced 2024-11-14 06:20:35 +01:00
more vector helpers for mt
Go to file
HybridDog f400a91e90 Remove functions which are deprecated and which I do not recommend to use
Removing deprecated functionality can help to clean up the code a bit.

I remove the following deprecated functions and values:
* vector.zero
* vector.plane()
* vector.pos_to_string()
* vector.quickadd()
* vector.scalar()
* vector.get_data_from_pos()
* vector.set_data_to_pos()
* vector.set_data_to_pos_optional()
* vector.remove_data_from_pos()
* vector.get_data_pos_table()

Furthermore, I remove the unused, experimental vector_meta.lua file
and make luacheck linting more strict so that it can show accidental
uses of deprecated functions in the code of this mod if there are any.

This change can break compatility with old mods which use vector_extras.
2024-08-27 17:38:30 +02:00
.gitignore fix a mistake at vector.line and add gitignore 2014-06-09 15:32:15 +02:00
.luacheckrc Remove functions which are deprecated and which I do not recommend to use 2024-08-27 17:38:30 +02:00
adammil_flood_fill.lua Add untested efficient flood fill algorithm 2019-12-01 11:00:53 +01:00
doc.md Remove functions which are deprecated and which I do not recommend to use 2024-08-27 17:38:30 +02:00
fill_3d.lua Add another untested fill algorithm and update LICENSE 2019-12-01 11:31:11 +01:00
init.lua Remove functions which are deprecated and which I do not recommend to use 2024-08-27 17:38:30 +02:00
LICENSE.txt Add another untested fill algorithm and update LICENSE 2019-12-01 11:31:11 +01:00
mod.conf depends.txt -> mod.conf 2021-10-10 12:57:57 +02:00
README.txt vector.triangle: (try to) avoid holes in neighbouring triangles 2020-04-18 14:16:35 +02:00

TODO:
* maybe make the explosion table function return a perlin explosion table
* Figure out and implement 3D scanline search
* Add vector.hollowsphere, less positions than WorldEdit hollowsphere
* Add unit tests
* Use %a string format for vector.serialize so that it is reversible