Vis 0.7.7.1 → 1.0.0
raw patch · 3 files changed
+6/−9 lines, 3 filesdep ~timePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: time
API changes (from Hackage documentation)
+ Vis: Euler :: a -> a -> a -> Euler a
+ Vis: [ePitch] :: Euler a -> a
+ Vis: [eRoll] :: Euler a -> a
+ Vis: [eYaw] :: Euler a -> a
+ Vis: data Euler a
+ Vis.VisObject: Euler :: a -> a -> a -> Euler a
+ Vis.VisObject: [ePitch] :: Euler a -> a
+ Vis.VisObject: [eRoll] :: Euler a -> a
+ Vis.VisObject: [eYaw] :: Euler a -> a
+ Vis.VisObject: data Euler a
Files
- Vis.cabal +3/−7
- src/Vis.hs +2/−1
- src/Vis/VisObject.hs +1/−1
Vis.cabal view
@@ -1,9 +1,9 @@ name: Vis-version: 0.7.7.1-stability: Experimental+version: 1.0.0+stability: Stable synopsis: Painless 3D graphics, no affiliation with gloss description:{-This package is a fork of Greg Horn's not-gloss package.+This package began as a fork of Greg Horn's not-gloss package. The dependencies have been changed so that it builds with recent ghc versions. } @@ -38,7 +38,3 @@ linear >= 1.22 && < 1.24, vector-binary-instances >= 0.2.5 && < 0.3 default-language: Haskell2010--source-repository head- type: git- location: git://github.com/ghorn/not-gloss.git
src/Vis.hs view
@@ -16,6 +16,7 @@ , SpecialKey(..) , BitmapFont(..) , Flavour(..)+ , Euler(..) , LoadedObjModel , loadObjModel , module Vis.GlossColor@@ -26,7 +27,7 @@ import Vis.Vis ( Options(..), Antialiasing(..), visMovie ) import Vis.Camera ( Camera0(..) ) import Vis.Interface ( display, animate, simulate, play, animateIO, simulateIO, playIO )-import Vis.VisObject ( VisObject(..), LoadedObjModel, loadObjModel )+import Vis.VisObject ( VisObject(..), LoadedObjModel, loadObjModel, Euler(..) ) import Vis.GlossColor -- | Some reasonable default options.
src/Vis/VisObject.hs view
@@ -9,6 +9,7 @@ , LoadedObjModel(..) , loadObjModel , setPerspectiveMode+ , Euler(..) ) where import GHC.Generics ( Generic )@@ -29,7 +30,6 @@ , ($=) ) ---import SpatialMath (Euler(..)) import Linear (V3(..),Quaternion,M33,fromQuaternion) import qualified Vis.GlossColor as GlossColor