Yampa-0.9.7: Library for programming hybrid systems.

Copyright(c) Antony Courtney and Henrik Nilsson, Yale University, 2003
LicenseBSD-style (see the LICENSE file in the distribution)
Maintainernilsson@cs.yale.edu
Stabilityprovisional
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell98

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 a Source

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

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

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