Work on gibs and chasms
This commit is contained in:
@@ -106,7 +106,12 @@ drawCollisionTest w = concat $ do
|
||||
b <- w ^. input . heldWorldPos . at ButtonRight
|
||||
return $
|
||||
setLayer DebugLayer (color orange $ line [a, b])
|
||||
<> foldMap (drawCrossCol red . fst) (thingHit a b w)
|
||||
<> foldMap (drawCrossCol red
|
||||
-- . xyV3
|
||||
. fst)
|
||||
-- (collide3 (v2z a 0) (v2z b 0) w)
|
||||
-- (collide3Floors (v2z a 10) (v2z b (-10)) $ w ^. cWorld . chasms)
|
||||
(thingHit a b w)
|
||||
|
||||
drawCircCollisionTest :: World -> Picture
|
||||
drawCircCollisionTest w = concat $ do
|
||||
|
||||
Reference in New Issue
Block a user