Commit Graph

65 Commits

Author SHA1 Message Date
3228cec1ae Merge remote-tracking branch 'upstream/master' 2024-09-15 13:00:59 +02:00
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
0501920345 Merge remote-tracking branch 'upstream/master' 2021-11-01 10:44:31 +01:00
HybridDog
63edf837d7 depends.txt -> mod.conf 2021-10-10 12:57:57 +02:00
9bf8a890c6 Merge remote-tracking branch 'upstream/master' 2021-09-21 23:13:15 +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
374735b17f Merge remote-tracking branch 'upstream/master' 2021-03-12 12:41:19 +01: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
2f0ad734d4 Merge remote-tracking branch 'upstream/master' 2020-08-25 20:07:10 +02: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
a1f3da77c0 Merge remote-tracking branch 'upstream/master' into nalc-1.2-dev 2020-06-14 22:59:41 +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
6f5431097c Corrige crash au démarrage causé par mauvais merge 2019-12-22 16:54:58 +01:00
268c6a0c36 Merge branch 'master' of yunohost.local:mtcontrib/vector_extras into nalc-1.2-dev 2019-12-22 16:03:20 +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
sys4-fr
c843090d58 Ajoute message de chargement du mod dans le journal "action" 2019-01-19 19:56:13 +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