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
HybridDog
63edf837d7
depends.txt -> mod.conf
2021-10-10 12:57:57 +02:00
Desour
ed6b514057
Make vector.zero callable
...
This is needed to keep compatibility with new minetest builtin code
2021-09-05 19:04:02 +02:00
HybridDog
f8c12047d5
Add .luacheckrc and some code cleanup
2021-03-01 20:37:59 +01:00
HybridDog
fdbcc2e425
A small comment
2021-03-01 19:26:24 +01:00
Desour
8c7aaf6c0b
Fix a bug in deprecated vector.plane
2020-08-25 11:03:17 +02:00
Desour
e826bbd9b9
Replace vector.scalar with vector.dot
2020-08-25 11:03:17 +02:00
HybridDog
6f2bc919db
vector.triangle: (try to) avoid holes in neighbouring triangles
2020-04-18 14:16:35 +02:00
HybridDog
bc08421e20
Add documentation
2020-04-07 20:49:10 +02:00
HybridDog
8ddb3879fb
Update README
2020-03-27 18:41:15 +01:00
HybridDog
275ec4af3b
Remove unused vector.triangle code and try to make it a bit faster
2020-03-27 18:30:19 +01:00
HybridDog
f7dbb1a884
Add (unoptimized) vector.triangle
2020-03-27 18:17:25 +01:00
HybridDog
d1a3c95286
Remove the vector.cross and deprecate vector.scalar; those functions are in minetest now
2020-02-17 13:04:53 +01:00
HybridDog
9c6e53dd0a
Add another untested fill algorithm and update LICENSE
2019-12-01 11:31:11 +01:00
HybridDog
dc368f7a7e
Add untested efficient flood fill algorithm
...
http://www.adammil.net/blog/v126_A_More_Efficient_Flood_Fill.html
2019-12-01 11:00:53 +01:00
Hybrid Dog
8d78f3cb9b
Fix wrong file name in dofile
...
Excuse me for inconveniences, I hope nobody used content from vector_meta.lua.
2017-12-25 20:52:09 +01:00
Hybrid Dog
02df8d2d46
Add new functions and remove deprecated/inefficient
2017-11-26 11:22:24 +01:00
Hybrid Dog
fdb043d709
Thicken parabola
2017-06-19 17:52:01 +02:00
Hybrid Dog
c221f0eec3
Fix parabola calculation mistakes, parabola works
2017-06-18 13:48:03 +02:00
Hybrid Dog
2fce6dbdc9
test code
2017-06-11 09:32:04 +02:00
Hybrid Dog
ecce896497
Add throw_parabola, doesnt work yet
2017-06-11 08:58:13 +02:00
HybridDog
472deb6c04
rename the sort function, fixes #2
...
M init.lua
2017-01-25 09:43:00 +01:00
HybridDog
86d267e8f1
add vector.serialize
...
it works ~4.5 times as fast as dump
dump works ~1.3 times as fast as minetest.serialize if a vector is passed
2016-05-27 17:20:57 +02:00
HybridDog
83ff39b66a
add get max coord and rayIter and improve fine line
2016-04-23 11:09:10 +02:00
HybridDog
934714fb48
🐈
2016-02-18 18:46:22 +01:00
HybridDog
5877a2c8bb
🐈
2016-02-06 12:04:27 +01:00
HybridDog
52adb555cb
🐈
2016-01-31 12:17:38 +01:00
HybridDog
70e08a15a2
returning the table isnt necessary, vector.sort usage changed a bit
2015-12-19 23:20:10 +01:00
HybridDog
177c679621
🐈
2015-08-31 11:29:17 +02:00
HybridDog
07d9584e32
add table modificating functions
2015-08-30 15:51:56 +02:00
HybridDog
8700859ea5
🐈
2015-08-27 21:23:11 +02:00
HybridDog
f85a54a070
🐈
2015-08-27 20:44:45 +02:00
asl97
bb71910c2c
Add collision function to vector
2015-08-27 11:18:17 +02:00
HybridDog
95a528221c
🐈
2015-05-29 12:09:25 +02:00
HybridDog
55fd22890b
🐈
2015-05-12 21:29:05 +02:00
HybridDog
1db996a040
some changes
2015-04-25 09:54:07 +02:00
HybridDog
02291fcb65
edit code
2015-04-25 08:35:23 +02:00
HybridDog
c75042050a
the triangle function works now
2015-04-25 08:28:18 +02:00
HybridDog
3ee60ac7a3
automatic update
2015-04-16 20:42:21 +02:00
HybridDog
622e644cfd
automatic update
2015-03-07 16:02:28 +01:00
HybridDog
052a995875
automatic update
2014-12-28 22:01:45 +01:00
HybridDog
a34d7eb231
update the vector.line function
2014-09-14 17:15:00 +02:00
HybridDog
2c18e641f1
automatic update
2014-08-08 13:39:58 +02:00
HybridDog
51f60dd676
add a 2d line function
2014-07-27 14:50:03 +02:00
HybridDog
9be98c66ab
fix a mistake at vector.line and add gitignore
2014-06-09 15:32:15 +02:00
HybridDog
11d6679bbc
update
2014-04-24 13:19:04 +02:00
HybridDog
8371cc84d9
may work faster
2014-03-08 18:14:41 +01:00
HybridDog
1af07d4b59
fix vector.sun_dir
2014-03-08 18:09:09 +01:00
HybridDog
8563a67478
update
2014-03-05 21:02:25 +01:00
HybridDog
0f8ccaefb0
update
2014-03-03 15:16:12 +01:00