gridbounds-0.0.0.1: Collision detection for GridBox
GridBounds.Bounds
Description
Bounds
Synopsis
type Bounds = [(Double, Double)] Source #
A list of (x, y) coordinates representing the bounds of an object
bound :: [Bounds] -> Grid -> Grid Source #
Bound the given grid to the given list of bounds.
createGrid :: [Bounds] -> (Double, Double) -> Double -> Double -> Double -> Double -> [Box] Source #
Create the bounded grid.
createCompressedGrid :: [Bounds] -> (Double, Double) -> Double -> Double -> Double -> Double -> CompressedGrid Source #
Create the bounded grid and return a compressed grid.