Commit Graph

497 Commits

Author SHA1 Message Date
Lars Mueller
2005754a46 Add binary module to reduce code duplication 2021-03-13 16:55:21 +01:00
Lars Mueller
7a92f3b492 Bluon: Fix integer serialization & tests 2021-03-13 16:19:57 +01:00
Lars Mueller
7dea86fec2 Bluon documentation 2021-03-05 15:08:57 +01:00
Lars Mueller
8105ee2419 Experimental binary lua object notation (bluon) 2021-03-05 15:07:34 +01:00
Lars Mueller
2ff48fe494 Add text.hexdump 2021-03-05 11:05:47 +01:00
Lars Mueller
63050f3bad Add text.inputstream 2021-03-04 19:51:04 +01:00
Lars Mueller
b3703ab91d Add table.rope_len for determining length 2021-03-04 13:42:09 +01:00
Lars Mueller
7346d27e79 Add math.fround 2021-03-04 12:19:08 +01:00
Lars Mueller
44cca2569c Make modlib independent of Minetest 2021-03-04 12:18:26 +01:00
Lars Mueller
d728157204 Add table.rope with :write and :to_text 2021-03-04 08:30:19 +01:00
Lars Mueller
8c97425fbc b3d: add support for positive nan 2021-03-03 18:31:38 +01:00
Lars Mueller
ca6757f326 table: get rid of unneeded metatable duplication 2021-02-27 17:16:30 +01:00
Lars Mueller
5e3fd2048e Remove unnecessary _G 2021-02-26 22:23:25 +01:00
Lars Mueller
95598799ee Revert "Fix B3D reader: Don't rely on table constructor execution order"
This reverts commit fe26d4c793fd4956b2e1dda881c26736c0062b1b.
2021-02-26 22:22:19 +01:00
Lars Mueller
fe26d4c793 Fix B3D reader: Don't rely on table constructor execution order 2021-02-26 18:36:46 +01:00
Lars Mueller
ba4a6ab8e6 b3d test default false 2021-02-12 14:05:56 +01:00
Lars Mueller
4aec592fb2 Add vector.distance (required by k-d-tree) 2021-02-07 14:01:40 +01:00
Lars Mueller
4bdd79cadc kdtree tests 2021-02-07 14:00:48 +01:00
Lars Mueller
006beff2ef kdtree fixes 2021-02-07 14:00:41 +01:00
Lars Mueller
155ab6deb7 Add simple k-d-tree 2021-02-07 00:40:25 +01:00
Lars Mueller
386f49a6ac Add vector.distance 2021-02-06 18:07:50 +01:00
Lars Mueller
3807c32df5 Fix syntax error 2021-02-06 12:03:35 +01:00
Lars Mueller
24b1a90d0a Add quaternion.from_euler_rotation 2021-02-06 12:01:47 +01:00
Lars Mueller
525f0dc2de Better to_euler_rotation methods 2021-02-06 11:57:34 +01:00
Lars Mueller
a462b313f1 Redo get_animated_bone_properties 2021-02-06 11:55:43 +01:00
Lars Mueller
311ff9cb10 Make table.find return nil if not found 2021-02-06 11:48:00 +01:00
Lars Mueller
233bda0123 Annotate Minetest vector metatable support 2021-02-05 08:51:42 +01:00
Lars Mueller
afed4793cb Quaternion: Add conjugate and invert 2021-02-03 12:49:23 +01:00
Lars Mueller
4400cdeed9 Variable name fix 2021-02-02 23:37:15 +01:00
Lars Mueller
b8a3e162cc B3D: Add calculate_absolute_bone_properties 2021-02-02 23:15:24 +01:00
Lars Mueller
c00d014041 Improve tests 2021-02-02 23:12:55 +01:00
Lars Mueller
c323443975 Improve & fix quaternions 2021-02-02 15:44:58 +01:00
Lars Mueller
e56e9c1207 Add vector.interpolate 2021-02-02 15:43:55 +01:00
Lars Mueller
6f0e6f459b Add quaternion from character_anim 2021-02-02 10:38:21 +01:00
Lars Mueller
12639daffb B3D test utility 2021-02-01 16:27:21 +01:00
Lars Mueller
a81834fb66 Fix mod.extend_string triggering a warning 2021-02-01 16:23:11 +01:00
Lars Mueller
cfdf3cf67b Improve mod.get_resource 2021-02-01 16:22:37 +01:00
Lars Mueller
12826a7840 Strip unneeded zero weights 2021-02-01 13:29:00 +01:00
Lars Mueller
81793819a3 Improve B3D table format 2021-02-01 13:20:07 +01:00
Lars Mueller
f5a7d6b1fe Experimental Blitz3D .b3d file reader 2021-01-31 21:41:42 +01:00
Lars Mueller
b9483fb919 Add objects_inside_- radius and area iterators 2021-01-30 14:27:30 +01:00
Lars Mueller
176edb7cad Remove dead code 2021-01-30 14:02:25 +01:00
Lars Mueller
a71c115647 Deprecate player.get_color_int, beautification 2021-01-30 11:50:05 +01:00
Lars Mueller
1d76fee9db Fix colorspec 2021-01-29 12:32:51 +01:00
Lars Mueller
454ffb1a46 Add ranked set 2021-01-25 21:18:56 +01:00
Lars Mueller
6691a64484 Neatify heap 2021-01-19 15:29:39 +01:00
Lars Mueller
2711e1333a Improve tests 2021-01-19 13:24:10 +01:00
Lars Mueller
15ce314e8c Simplify & alter nilget 2021-01-19 13:18:25 +01:00
Lars Mueller
a12ce08430 Directly access global table 2021-01-17 19:29:23 +01:00
Lars Mueller
a1bf8a104f Unsilence builtin/strict.lua 2021-01-17 18:19:46 +01:00