packages feed

spatial-math 0.2.1.0 → 0.2.1.1

raw patch · 3 files changed

+9/−1 lines, 3 files

Files

changelog.txt view
@@ -2,3 +2,6 @@ - convert to using `linear` V3, M33, Quaternion types - doctests - fix long unknown bug: rotateXyzAbout{X,Y,Z} was rotating opposite direction from intended++0.2.1.1+- Serialize a => Serialize (Euler a)
spatial-math.cabal view
@@ -1,5 +1,5 @@ name:                spatial-math-version:             0.2.1.0+version:             0.2.1.1 synopsis:            3d math including quaternions/euler angles/dcms and utility functions description:         This is a port of my 'mathlib' C library: `https://github.com/ghorn/mathlib` license:             BSD3
src/Types.hs view
@@ -16,6 +16,7 @@ import Data.Traversable ( Traversable ) #if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 702 import GHC.Generics (Generic)+import Data.Serialize ( Serialize ) #endif #if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 706 import GHC.Generics (Generic1)@@ -47,3 +48,7 @@ deriving instance Typeable1 Euler #endif ++#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 702+instance Serialize a => Serialize (Euler a)+#endif