Add missing dependencies, fix arc rendering
This commit is contained in:
@@ -86,7 +86,6 @@ flashFlareAt col alphax (V2 x y) = Particle
|
||||
|
||||
explosionFlashAt :: Point2 -> World -> World
|
||||
explosionFlashAt p = over tempLightSources ((:) $ tLightFade 20 150 intensityFunc p)
|
||||
. glareAt 20 10 5 (withAlpha 0.3 white) 75 150 p
|
||||
where
|
||||
intensityFunc x
|
||||
| x < 10 = 1 / (10 - fromIntegral x)
|
||||
|
||||
Reference in New Issue
Block a user