Reorganisation of light source placements and fittings
This commit is contained in:
+1
-1
@@ -130,7 +130,7 @@ destroyBlock bl w = w
|
||||
wlids = _blWallIDs bl
|
||||
awl = _walls w IM.! IS.findMin wlids
|
||||
pos = fst . _wlLine $ _walls w IM.! IS.findMin wlids
|
||||
ps = (replicateM 25 $ randInCirc 20) & evalState $ _randGen w
|
||||
ps = replicateM 25 (randInCirc 20) & evalState $ _randGen w
|
||||
-- | Note the explict use of record syntax. Using lens created a space leak.
|
||||
resetWorldEvents :: World -> World
|
||||
resetWorldEvents w = w {_worldEvents = id}
|
||||
|
||||
Reference in New Issue
Block a user