Use strict tuples for SPics

This commit is contained in:
2024-10-01 01:20:29 +01:00
parent a98ec80f59
commit 5a4f2711c8
17 changed files with 69 additions and 481 deletions
+1 -4
View File
@@ -9,12 +9,9 @@ drawWall wd = case wd of
DrawForceField -> drawForceField
drawForceField :: Wall -> SPic
drawForceField wl =
( mempty
, setLayer BloomLayer
drawForceField wl = noShape . setLayer BloomLayer
. setDepth 20
. color (_wlColor wl)
$ thickLine 5 [a, b]
)
where
(a, b) = _wlLine wl