Graphics.FieldTrip.Vector3
 Stability experimental Maintainer conal@conal.net, andygill@ku.edu
Description
Vectors in 3D. Uses the OpenGL Vector3 type, for convenience and efficiency.
Synopsis
 vector3 :: s -> s -> s -> Vector3 s xVector3 :: Num s => Vector3 s yVector3 :: Num s => Vector3 s zVector3 :: Num s => Vector3 s vector3y :: Vector3 s -> s vector3Spherical :: Floating s => s -> s -> s -> Vector3 s vector3SphericalCoords :: (InnerSpace s, Floating s, Scalar s ~ s) => Vector3 s -> (s, s, s) vector3D :: (VectorSpace s, HasTrie (Basis a)) => Three (a :> s) -> a :> Vector3 s unvector3D :: (VectorSpace s, HasTrie (Basis a)) => (a :> Vector3 s) -> Three (a :> s)
Documentation
 vector3 :: s -> s -> s -> Vector3 s Source
Construct a 3D vector in rectangular coordinates.
 xVector3 :: Num s => Vector3 s Source
The unit vector in the positive X direction.
 yVector3 :: Num s => Vector3 s Source
The unit vector in the positive Y direction.
 zVector3 :: Num s => Vector3 s Source
The unit vector in the positive Z direction.
 vector3y :: Vector3 s -> s Source
 vector3Spherical :: Floating s => s -> s -> s -> Vector3 s Source
Vector from spherical coordinates. See also vector2SphericalCoords.
 vector3SphericalCoords :: (InnerSpace s, Floating s, Scalar s ~ s) => Vector3 s -> (s, s, s) Source
Spherical coordinates of a vector. See also vector2Spherical.
 vector3D :: (VectorSpace s, HasTrie (Basis a)) => Three (a :> s) -> a :> Vector3 s Source
 unvector3D :: (VectorSpace s, HasTrie (Basis a)) => (a :> Vector3 s) -> Three (a :> s) Source
Produced by Haddock version 2.3.0