Centered grid

This commit is contained in:
Alexey 2025-10-24 12:52:33 +03:00
commit 71f98fd831
3 changed files with 8 additions and 5 deletions

View file

@ -7,6 +7,7 @@ VERSION = 'v0.2'
---@field pointRadius number Radius of each grid point, relative to cellSize
---@field linePointRadius number Radius of line start/end points, relative to cellSize
---@field cellSize number Size of each grid cell
---@field gridOffset number X offset of grid processing
---@field lineStyle string love2d line style setting
---@field lineWidth number love2d line width setting
---@field menuLineWidth number love2d line width for buttons
@ -17,6 +18,7 @@ Config = {
linePointRadius = 0.4,
cellSize = 30,
gridOffset = 160,
lineStyle = "smooth",
lineWidth = 0.1,