Allow for items to cast shadows
This commit is contained in:
@@ -196,7 +196,7 @@ rectangleSolid x y = polygon $ map toV2 [(x,y),(x,-y),(-x,-y),(-x,y)]
|
||||
|
||||
drawItem :: FloorItem -> Picture
|
||||
drawItem flit = uncurryV translate (_flItPos flit)
|
||||
$ rotate (_flItRot flit) (_itFloorPict (_flIt flit))
|
||||
$ rotate (_flItRot flit) (_spPicture $ _itFloorPict (_flIt flit))
|
||||
|
||||
|
||||
ffToDraw :: World -> [ForceField]
|
||||
|
||||
Reference in New Issue
Block a user