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:
2024-12-25 00:10:26 +00:00
parent 18b569ac89
commit 04a83ed031
10 changed files with 571 additions and 488 deletions
+3 -1
View File
@@ -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)