This commit is contained in:
Starbeamrainbowlabs 2024-09-17 22:56:02 +01:00
parent 163f4fc0fd
commit 6290c61e2f
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -40,7 +40,7 @@ local function rotlist_compile(rotlist)
end
--- Applies a given list of rotatiosn rotlist to rotate pos1 and pos2 around a given origin, and returns a pos1/pos2 pair of a region that bounds the rotated area.
--- Applies a given list of rotations rotlist to rotate pos1 and pos2 around a given origin, and returns a pos1/pos2 pair of a region that bounds the rotated area.
-- The returned pos1/pos2 are guaranteed to be integer values that fully enclose the rotated region. This function is designed to be used to e.g. find the bounds of a region to pass to a VoxelManip to ensure we grab everything.
-- @param pos1 Vector3 Position 1 to rotate.
-- @param pos2 Vector3 Position 2 to rotate.