Try to simplify link code in roomRect
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user