Allow for door destruction
This commit is contained in:
@@ -15,7 +15,7 @@ cullBox :: Configuration -> World -> [Point2]
|
||||
--cullBox cfig w = farWallPoints cp w
|
||||
cullBox cfig w'
|
||||
| debugOn Bound_box_screen cfig = screenPolygon cfig w'
|
||||
| otherwise = let (n,s,e,w) = farWallDistDirection (_cameraCenter w') cfig w'
|
||||
| otherwise = let (n,s,e,w) = farWallDistDirection (_cameraCenter w') w'
|
||||
in map ((+.+ _cameraCenter w') . rotateV (_cameraRot w') ) $ rectNSWE n (negate s) (negate w) e
|
||||
-- --mapMaybe (fmap (fst . _wlLine . snd) . f) $ screenPolygon cfig w
|
||||
-- where
|
||||
|
||||
Reference in New Issue
Block a user