Add toggle for visual sounds
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
module Dodge.Creature.ShadowBox
|
||||
where
|
||||
import Dodge.Data
|
||||
import Polyhedra
|
||||
import Geometry
|
||||
|
||||
import qualified Data.IntMap as IM
|
||||
youBox' :: World -> [[Point3]]
|
||||
youBox' w = crToBox' $ _creatures w IM.! 0
|
||||
crToBox' :: Creature -> [[Point3]]
|
||||
crToBox' cr = map (map f . polyToTris) $ boxXYZ 12 12 15
|
||||
where
|
||||
f = (+ V3 (x-6) (y-6) 0)
|
||||
V2 x y = _crPos cr
|
||||
youSil :: World -> [Point3]
|
||||
youSil = constructEdgesList . youBox'
|
||||
Reference in New Issue
Block a user