Add more annotations, update grid_page example

This commit is contained in:
Insality
2020-11-29 22:17:51 +03:00
parent 14a4e4365e
commit 897d401142
6 changed files with 63 additions and 22 deletions

View File

@@ -318,7 +318,9 @@ function StaticGrid.clear(self)
end
-- return vector where content borders starts
--- Return StaticGrid offset, where StaticGrid content starts.
-- @tparam StaticGrid self The StaticGrid instance
-- @treturn vector3 The StaticGrid offset
function StaticGrid:get_offset()
local borders = self:get_borders()
local size = self:get_size()