Use circles instead of points for zome wall zones
This commit is contained in:
@@ -25,7 +25,7 @@ import qualified IntMapHelp as IM
|
||||
|
||||
zoneOfCirc :: Float -> Point2 -> Float -> [Int2]
|
||||
{-# INLINE zoneOfCirc #-}
|
||||
zoneOfCirc zsize p r = zoneOfRect zsize (p +.+ V2 r r) (p -.- V2 r r)
|
||||
zoneOfCirc zsize p r = zoneOfRect zsize (p + V2 r r) (p - V2 r r)
|
||||
|
||||
zoneOfRect :: Float -> Point2 -> Point2 -> [Int2]
|
||||
{-# INLINE zoneOfRect #-}
|
||||
|
||||
Reference in New Issue
Block a user