Try to simplify link code in roomRect

This commit is contained in:
2025-10-27 15:10:19 +00:00
parent c88fc1c729
commit 0946ee1310
9 changed files with 95 additions and 105 deletions
+1 -5
View File
@@ -32,11 +32,7 @@ roomGlassOctogon x =
]
, _rmLinks = lnks'
, _rmPath =
linksGridToPath
lnks'
[ (V2 0 x, V2 0 (- (x + 40)))
, (V2 0 (- (x + 40)), V2 0 x)
]
linksDAGToPath lnks' [ (V2 0 x, V2 0 (- (x + 40))) ]
, _rmPmnts =
[ sPS (V2 fx fx) 0 putLamp
, sPS (V2 (- fx) fx) 0 putLamp