Use grid when creating block debris
This commit is contained in:
@@ -6,6 +6,7 @@ import Streaming
|
||||
import qualified Streaming.Prelude as S
|
||||
import qualified Control.Foldl as L
|
||||
|
||||
-- NSEW
|
||||
boundPoints :: Stream (Of Point2) Identity () -> Maybe (Float,Float,Float,Float)
|
||||
{-# INLINE boundPoints #-}
|
||||
boundPoints = f . runIdentity . L.purely S.fold_ ((,,,)
|
||||
|
||||
Reference in New Issue
Block a user