Commit Graph

506 Commits

Author SHA1 Message Date
Lars Mueller
e212ba7f3b Add minetest.colorspec:to_number_rgb 2021-03-25 17:50:20 +01:00
Lars Mueller
d1baf23814 Split up "minetest" module in multiple files 2021-03-25 17:46:04 +01:00
Lars Mueller
11e8bc6f4c Fix assertdump stack level 2021-03-25 11:47:34 +01:00
Lars Mueller
b87395272b Improve tests 2021-03-24 23:46:17 +01:00
Lars Mueller
2c051cc026 Add & use modlib.assertdump 2021-03-24 20:27:02 +01:00
Lars Mueller
02f24dd59f vector.cross3: Assert dimension = 3 2021-03-24 10:42:28 +01:00
Lars Mueller
7507209f29 Vectors: Consistent argument naming 2021-03-24 10:38:10 +01:00
Lars Mueller
f0f48c0fb4 Add vector.angle 2021-03-24 10:36:28 +01:00
Lars Mueller
0d1c5596a6 Add func.call_by_value 2021-03-22 18:17:26 +01:00
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