lin-alg-0.1.0.2: Low-dimensional matrices and vectors for graphics and physics

Safe HaskellNone

Numeric.LinearAlgebra.OrthoNormalBasis

Documentation

epsilon :: (Ord a, Floating a) => aSource

data ONB a Source

Constructors

ONB 

Fields

onbU :: Vec3 a
 
onbV :: Vec3 a
 
onbW :: Vec3 a
 

Instances

Eq a => Eq (ONB a) 
Ord a => Ord (ONB a) 
Read a => Read (ONB a) 
Show a => Show (ONB a) 

mkFromU :: (Ord a, Floating a) => Vec3 a -> ONB aSource

mkFromV :: (Ord a, Floating a) => Vec3 a -> ONB aSource

mkFromW :: (Ord a, Floating a) => Vec3 a -> ONB aSource

mkFromUV :: Floating a => Vec3 a -> Vec3 a -> ONB aSource

mkFromVU :: Floating a => Vec3 a -> Vec3 a -> ONB aSource

mkFromUW :: Floating a => Vec3 a -> Vec3 a -> ONB aSource

mkFromWU :: Floating a => Vec3 a -> Vec3 a -> ONB aSource

mkFromVW :: Floating a => Vec3 a -> Vec3 a -> ONB aSource

mkFromWV :: Floating a => Vec3 a -> Vec3 a -> ONB aSource