- Adaptat exemple a la nova API

- [NEW] viewport.resetClipping()
This commit is contained in:
2025-02-19 06:49:56 +01:00
parent 6c9221cd20
commit 5306e82897
4 changed files with 47 additions and 44 deletions

View File

@@ -161,6 +161,9 @@ viewport = {}
---Set the current clipping region
function viewport.setClipping(x, y, w, h) end
---reset the current clipping region to the entire window
function viewport.resetClipping() end
---@param x number
---@param y number
---Set the current origin position