Tweak pipes and girders
This commit is contained in:
@@ -3,10 +3,12 @@ module Dodge.LightSources
|
||||
, tLight
|
||||
, lightAt
|
||||
, colorLightAt
|
||||
, lampPic
|
||||
)
|
||||
where
|
||||
import Dodge.Data
|
||||
import Geometry.Data
|
||||
import Picture
|
||||
|
||||
import Control.Lens
|
||||
|
||||
@@ -57,3 +59,6 @@ tLight t rmax col (V3 x y z) = TLS
|
||||
| otherwise = Just $ tls
|
||||
& tlsTime -~ 1
|
||||
|
||||
lampPic :: Float -> Picture
|
||||
--{-# INLINE lampPic #-}
|
||||
lampPic h = setLayer 1 (setDepth h . color white $ circleSolid 3)
|
||||
|
||||
Reference in New Issue
Block a user