Cleanup
This commit is contained in:
@@ -30,9 +30,9 @@ colorLightAt col pos i =
|
||||
,_lsPict = lightSourcePicture
|
||||
}
|
||||
lightSourcePicture :: LightSource -> Picture
|
||||
lightSourcePicture ls = setLayer 1 . translate3 (_lsPos ls) . color col $ circleSolid 3
|
||||
lightSourcePicture ls = setLayer 1 . translate3 (_lsPos ls) . color col $ circleSolid 4
|
||||
where
|
||||
col = V4 r g b 1
|
||||
col = V4 r g b 2
|
||||
V3 r g b = _lsIntensity ls
|
||||
|
||||
lightAt :: Point3 -> Int -> LightSource
|
||||
|
||||
Reference in New Issue
Block a user