Commit Graph

236 Commits

Author SHA1 Message Date
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
Lars Mueller
1e10ab0270 Add modlib._RG for raw global access 2021-01-17 18:03:42 +01:00
Lars Mueller
b09ba18421 Remove testing 2021-01-16 17:22:46 +01:00
Lars Mueller
19b0d60f07 Additional tests 2021-01-16 17:20:12 +01:00
Lars Mueller
2b881acc28 Add min-heap 2021-01-16 17:17:29 +01:00
Lars Mueller
61b48e09da Improve on_wielditem_change 2021-01-14 12:22:23 +01:00
Lars Mueller
47a927005b Fix wielditem change 2021-01-14 00:11:38 +01:00
Lars Mueller
cb1192d9d8 Fix flowingliquid helper doc 2021-01-13 22:50:36 +01:00
Lars Mueller
837b067963 Implement register_on_item_change & item.on_wield / item.un_wield callbacks 2021-01-13 20:30:00 +01:00
Lars Mueller
403bb8f3d8 Colorspec class with conversion methods 2021-01-10 17:32:45 +01:00
Lars Mueller
0edb8d378f Add table.deep_to_add 2021-01-02 17:06:26 +01:00
Lars Mueller
04a33ca841 Spice up table equality checks 2021-01-02 17:02:34 +01:00