mirror of
https://github.com/Insality/druid.git
synced 2025-11-26 19:00:50 +01:00
Add more annotations
This commit is contained in:
@@ -226,6 +226,11 @@ function StaticGrid:clear()
|
||||
end
|
||||
|
||||
|
||||
--- Return elements offset for correct posing nodes. Correct posing at
|
||||
-- parent pivot node (0:0) with adjusting of node sizes and anchoring
|
||||
-- @function static_grid:_get_zero_offset
|
||||
-- @treturn vector3 The offset vector
|
||||
-- @local
|
||||
function StaticGrid:_get_zero_offset()
|
||||
-- zero offset: center pos - border size * anchor
|
||||
return vmath.vector3(
|
||||
|
||||
Reference in New Issue
Block a user