spatial-math

3d math including quaternions/euler angles/dcms and utility functions

Latest on Hackage:0.4.0.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by Greg Horn

spatial-math

Hackage Build Status

3d math including quaternions/euler angles/dcms and utility functions.

This is a port of my 'mathlib' C library: https://github.com/ghorn/mathlib and may someday be merged with it.

Changes

0.4.0
- Switch quat2dcm mode to avoid divide by 0, add Ord constraint

0.2.0
- 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)

0.2.1.2
- Binary a => Binary (Euler a)

0.2.2
- add Ord instances

0.2.5
- instance Applicative Euler
- specialized dcmOfEuler321 without Ord constraint

0.2.6
- use ArcTan2 instead of RealFloat
- unsafe specialized euler321OrDcm without Ord constraint
- primitive implementation of quatOfDcm
comments powered byDisqus