Yampa-0.9.6: Library for programming hybrid systems.

Portabilitynon-portable (GHC extensions)
Stabilityprovisional
Maintainernilsson@cs.yale.edu
Safe HaskellSafe-Inferred

FRP.Yampa.Vector3

Description

3D vector abstraction (R^3).

ToDo: Deriving Show, or provide dedicated show instance?

Documentation

data RealFloat a => Vector3 a Source

Instances

vector3 :: RealFloat a => a -> a -> a -> Vector3 aSource

vector3XYZ :: RealFloat a => Vector3 a -> (a, a, a)Source

vector3Spherical :: RealFloat a => a -> a -> a -> Vector3 aSource

vector3Rotate :: RealFloat a => a -> a -> Vector3 a -> Vector3 aSource