Working dynamic shadows using shape vertices buffer
This commit is contained in:
+1
-4
@@ -42,7 +42,7 @@ generateLevelFromRoomList gr w
|
||||
= updateWallZoning
|
||||
. setupWorldBounds
|
||||
-- . initializeStaticWalls
|
||||
. setupForegroundEdgeVerxs
|
||||
-- . setupForegroundEdgeVerxs
|
||||
. placeSpots plmnts
|
||||
-- . addRoomPolyDecorations rs
|
||||
-- . addRoomLinkDecorations rs
|
||||
@@ -76,9 +76,6 @@ setupWorldBounds w = w
|
||||
<*> L.premap sndV2 L.maximum
|
||||
) ps
|
||||
|
||||
setupForegroundEdgeVerxs :: World -> World
|
||||
setupForegroundEdgeVerxs w = w & foregroundShape .~ (_foregroundDecorations w)
|
||||
|
||||
polyhedrasToEdges :: [Polyhedra] -> [Point3]
|
||||
polyhedrasToEdges = concatMap tflat4 . concatMap polyToEdges
|
||||
|
||||
|
||||
Reference in New Issue
Block a user