Fix error in circle wall collision detection
The wall zoning did not take into account the radius of the circle
This commit is contained in:
@@ -26,7 +26,9 @@ import qualified IntMapHelp as IM
|
||||
import qualified Data.Map.Strict as M
|
||||
|
||||
testStringInit :: Universe -> [String]
|
||||
testStringInit u = foldMap prettyShort $ u ^. uvWorld . cWorld . lWorld . projectiles
|
||||
testStringInit u = [show $ u ^. uvDebugFloat1
|
||||
, show $ u ^. uvWorld . input . heldWorldPos . at SDL.ButtonRight]
|
||||
--testStringInit u = foldMap prettyShort $ u ^. uvWorld . cWorld . lWorld . projectiles
|
||||
-- (map (show . _ebPos) $ u ^. uvWorld . cWorld . lWorld . energyBalls)
|
||||
-- <>
|
||||
-- (foldMap prettyShort $ u ^. uvWorld . cWorld . lWorld . bullets)
|
||||
|
||||
Reference in New Issue
Block a user