Add more annotations

This commit is contained in:
Insality
2020-09-28 22:22:46 +03:00
parent e00ab4f0a1
commit 0b56a18578
3 changed files with 12 additions and 1 deletions

View File

@@ -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(