Use circles instead of points for zome wall zones
This commit is contained in:
@@ -218,9 +218,10 @@ rotateToOverlappingWall w =
|
||||
maybe
|
||||
id
|
||||
(doWallRotate . snd)
|
||||
(overlapCircWallsClosest p (crRad (cr ^. crType) + 10) (filter _wlRotateTo $ wlsNearPoint p w))
|
||||
(overlapCircWallsClosest p r (filter _wlRotateTo $ wlsNearCirc p r w))
|
||||
w
|
||||
where
|
||||
r = (crRad (cr ^. crType) + 10)
|
||||
cr = you w
|
||||
p = you w ^. crPos . _xy
|
||||
|
||||
|
||||
Reference in New Issue
Block a user