Scaling drawing

This commit is contained in:
Alexey 2025-07-03 15:11:46 +03:00
commit 293f529613
6 changed files with 30 additions and 12 deletions

View file

@ -2,21 +2,21 @@ require 'tablefuncs'
-- Global config table
---@class Config
---@field pointRadius number Radius of each grid point
---@field linePointRadius number Radius of line start/end point
---@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 lineStyle string love2d line style setting
---@field lineWidth number love2d line width setting
---@field dragSensivity number drag sensivity, px
Config = {
pointRadius = 7,
pointRadius = 0.3,
linePointRadius = 10,
linePointRadius = 0.4,
cellSize = 30,
lineStyle = "smooth",
lineWidth = 5,
lineWidth = 0.1,
dragSensivity = 5
}