doc: Add some @see to the shape doc.
The `transform` function was unclear.
This commit is contained in:
parent
69ab73aa23
commit
f8f11a23f5
|
@ -820,6 +820,12 @@ end
|
||||||
-- @param shape A shape function
|
-- @param shape A shape function
|
||||||
-- @return A transformation handle, also act as a shape function
|
-- @return A transformation handle, also act as a shape function
|
||||||
-- @staticfct gears.shape.transform
|
-- @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)
|
function module.transform(shape)
|
||||||
|
|
||||||
-- Apply the transformation matrix and apply the shape, then restore
|
-- Apply the transformation matrix and apply the shape, then restore
|
||||||
|
|
Loading…
Reference in New Issue