doc fixes
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2026-03-12 07:42:11 +01:00
parent 220ca27128
commit fd983dd6e1
2 changed files with 6 additions and 3 deletions

View File

@@ -1,3 +1,4 @@
--- @section Glitch
Glitch = {} Glitch = {}
--- Shows the glitch effect. --- Shows the glitch effect.
@@ -38,13 +39,13 @@ function Glitch.draw()
for i = 1, 15 do for i = 1, 15 do
local rx = math.random(0, Config.screen.width - 1) local rx = math.random(0, Config.screen.width - 1)
local ry = math.random(0, Config.screen.height - 1) local ry = math.random(0, Config.screen.height - 1)
-- Sample color at the random point -- Sample color at the random point
local color = pix(rx, ry) local color = pix(rx, ry)
-- Determine random length for the stripe (2-40) -- Determine random length for the stripe (2-40)
local length = math.random(2, 40) local length = math.random(2, 40)
-- Draw the vertical stripe -- Draw the vertical stripe
for sy = 0, length - 1 do for sy = 0, length - 1 do
local dy = ry + sy local dy = ry + sy

View File

@@ -1,3 +1,5 @@
--- @section EndWindow
--- Draws the end screen window. --- Draws the end screen window.
--- @within EndWindow --- @within EndWindow
function EndWindow.draw() function EndWindow.draw()