diff --git a/worldeditadditions_core/utils/param2.lua b/worldeditadditions_core/utils/param2.lua index e6d0fe4..05acb05 100644 --- a/worldeditadditions_core/utils/param2.lua +++ b/worldeditadditions_core/utils/param2.lua @@ -3,6 +3,8 @@ local Vector3 = core.Vector3 --- -- @module worldeditadditions_core.param2 +-- TODO Reimplement for facedir ref https://github.com/12Me21/screwdriver2/blob/master/init.lua#L75-L79 + -- //set -- //set param2|p2 @@ -25,6 +27,7 @@ local function dir_to_param2(param2_type, dir) end + --- Rotates the given param2 value of the given type by the given COMPILED list of rotations. -- In other words, reorients a given param2 value of a given param2_type (aka paramtype2 in the Minetest engine but the Minetest engine naming scheme is dumb in this case) according to a given COMPILED rotation list. -- @param param2 number The param2 value to rotate.