More cleverly set maximum view distance for rectangular window sizes
This commit is contained in:
@@ -103,6 +103,7 @@ functionalUpdate cfig w = checkEndGame
|
||||
|
||||
updateBoundBox :: Configuration -> World -> World
|
||||
updateBoundBox cfig w = w & boundBox .~ cullBox cfig w
|
||||
& boundDist .~ findBoundDists cfig w
|
||||
|
||||
mcChooseUpdate :: Machine -> Machine -> World -> World
|
||||
mcChooseUpdate mc mc'
|
||||
|
||||
Reference in New Issue
Block a user