gridbounds-0.0.0.1: Collision detection for GridBox

Safe HaskellSafe
LanguageHaskell2010

GridBounds.Transform

Description

Transform

Synopsis

Documentation

transform :: (Double, Double) -> Double -> Bounds -> Bounds Source #

Transform bounds to position (x, y) with given scale.

transformList :: [Bounds] -> (Double, Double) -> Double -> [Bounds] Source #

Transform triangles to position (x, y) with given scale.

createGrid :: [Bounds] -> (Double, Double) -> Double -> (Double, Double) -> Double -> Double -> Double -> Double -> [Box] Source #

Transforms the bounds and create the bounded grid.

createCompressedGrid :: [Bounds] -> (Double, Double) -> Double -> (Double, Double) -> Double -> Double -> Double -> Double -> CompressedGrid Source #

Transforms the bounds, create the bounded grid and return a compressed grid.