Scaling drawing
This commit is contained in:
parent
d4c4c7bfd0
commit
293f529613
6 changed files with 30 additions and 12 deletions
10
config.lua
10
config.lua
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue