Add aggressive light culling
This commit is contained in:
@@ -100,7 +100,7 @@ addButtonSlowDoor x h rm = do
|
||||
["WARNING:"
|
||||
,"LARGE BIOMASS DETECTED"
|
||||
]
|
||||
openDoorBound = rectNSEW (h + 5) (h - 5) (-x/2) (3*x/2)
|
||||
openDoorBound = reverse $ rectNSWE (h + 5) (h - 5) (3*x/2) (-x/2)
|
||||
belowH y = (sndV2 . fst) y < h - 40
|
||||
aboveH y = (sndV2 . fst) y > h + 40
|
||||
amountedlight dr xoff = Just . moveLSThen (getdoorpos (fromJust $ _plMID dr))
|
||||
|
||||
Reference in New Issue
Block a user