Implementation of creature update using endofunctor monoid

This commit is contained in:
jgk
2021-08-18 00:59:35 +02:00
parent 5971fae5ec
commit cfb27d4a76
4 changed files with 18 additions and 7 deletions
-2
View File
@@ -7,8 +7,6 @@ import Dodge.LevelGen.Data
import Picture
import Geometry.Data
--import qualified Data.IntMap.Strict as IM
lightAt :: Point3 -> Int -> LightSource
lightAt (V3 x y z) i =
LS {_lsID = i