Initial pass at shadows from level geometry

This commit is contained in:
2021-06-29 15:27:26 +02:00
parent 089dcc3f5d
commit 3d16c33d33
20 changed files with 181 additions and 74 deletions
+3 -2
View File
@@ -9,6 +9,7 @@ import Dodge.Render.MenuScreen
import Geometry
import Geometry.Data
import Picture
import Polyhedra.Data
--import Dodge.Creature.YourControl
@@ -29,8 +30,8 @@ worldPictures w = pictures $ concat
, map drawWallFloor (wallFloorsToDraw w)
, testPic w
]
foregroundPics :: World -> Picture
foregroundPics = pictures . _foregroundDecorations
foregroundPics :: World -> [Polyhedra]
foregroundPics = _foregroundDecorations
fixedCoordPictures :: World -> Picture
fixedCoordPictures w = case _menuLayers w of