From f8f11a23f513313e426aee38de9963a3ecee8a44 Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Mon, 13 Dec 2021 13:55:17 -0800 Subject: [PATCH] doc: Add some @see to the shape doc. The `transform` function was unclear. --- lib/gears/shape.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/gears/shape.lua b/lib/gears/shape.lua index 1c31e741e..4af3d326f 100644 --- a/lib/gears/shape.lua +++ b/lib/gears/shape.lua @@ -820,6 +820,12 @@ end -- @param shape A shape function -- @return A transformation handle, also act as a shape function -- @staticfct gears.shape.transform +-- @see gears.matrix.translate +-- @see gears.matrix.scale +-- @see gears.matrix.rotate +-- @see gears.matrix.rotate_at +-- @see gears.matrix.multiply +-- @see gears.matrix.invert function module.transform(shape) -- Apply the transformation matrix and apply the shape, then restore