Skip to content

Commit 8647cbf

Browse files
Vadim1987Vadym
andauthored
feat: add compy.graphics with bezier polygonization and shape rendering (#12)
* feat: add compy.graphics with bezier polygonization and shape rendering * review: weak caches, shape2d under compy.graphics.shape2d --------- Co-authored-by: Vadym <vadym@MacBook-Pro-Vadym.local>
1 parent bd84a1f commit 8647cbf

4 files changed

Lines changed: 1230 additions & 1 deletion

File tree

src/controller/consoleController.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,9 @@ end
295295

296296
-- Set up audio table
297297
local compy_audio = require("util.audio")
298-
local compy_graphics = {}
298+
local compy_graphics = {
299+
shape2d = require("util.graphics.shape2d")
300+
}
299301
local get_compy_terminal = function(terminal)
300302
return {
301303
--- @param x number

0 commit comments

Comments
 (0)