Various performance improvements
This commit is contained in:
@@ -58,5 +58,5 @@ damCrsOnLine dam p1 p2 = over creatures (IM.map damIfOnLine)
|
||||
= over crHP (\hp -> hp - dam) cr
|
||||
| otherwise = cr
|
||||
|
||||
makeTLight :: Int -> Float -> Point3 -> Point2 -> World -> World
|
||||
makeTLight :: Int -> Float -> Point3 -> Point3 -> World -> World
|
||||
makeTLight i rad col p = tempLightSources %~ (tLight i rad col p :)
|
||||
|
||||
Reference in New Issue
Block a user