apecs-gloss 0.2.1 → 0.2.2
raw patch · 2 files changed
+2/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- apecs-gloss.cabal +1/−1
- src/Apecs/Gloss.hs +1/−1
apecs-gloss.cabal view
@@ -1,5 +1,5 @@ name: apecs-gloss-version: 0.2.1+version: 0.2.2 synopsis: Simple gloss renderer for apecs homepage: https://github.com/jonascarpay/apecs/apecs-gloss license: BSD3
src/Apecs/Gloss.hs view
@@ -30,7 +30,7 @@ Scale cs cs . Translate (-cx) (-cy) windowToWorld :: Camera -> (Float,Float) -> V2 Float-windowToWorld (Camera cx cs) (x,y) = V2 x y ^/ cs - cx+windowToWorld (Camera cx cs) (x,y) = V2 x y ^/ cs + cx instance Component Camera where type Storage Camera = Global Camera