Initial pass at shadows from level geometry

This commit is contained in:
jgk
2021-06-29 15:27:26 +02:00
parent 089dcc3f5d
commit 3d16c33d33
20 changed files with 181 additions and 74 deletions
+2 -1
View File
@@ -4,6 +4,7 @@ module Dodge.LevelGen.Data
where
import Dodge.Data
import Picture
import Polyhedra.Data
import Control.Lens
import Control.Monad.State
@@ -22,7 +23,7 @@ data PSType = PutCrit {_unPutCrit :: Creature}
| PutBtDoor Color Point2 Float Point2 Point2
| PutSwitchDoor Color Point2 Float Point2 Point2
| RandPS (State StdGen PSType)
| PutForeground Picture
| PutForeground [Polyhedra]
| PutNothing
| PutID { _putID :: Int}
data PlacementSpot = PS