Add new files

This commit is contained in:
2021-09-11 12:17:36 +01:00
parent 73beeacf3c
commit 27e4f16dd9
2 changed files with 95 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE StrictData #-}
module Dodge.Bounds
where
import Control.Lens
data Bounds = Bounds
{ _bdMinX :: Float
, _bdMaxX :: Float
, _bdMinY :: Float
, _bdMaxY :: Float
}
defaultBounds :: Bounds
defaultBounds = Bounds 0 0 0 0
makeLenses ''Bounds