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

Numeric.LinearAlgebra.OrthoNormalBasis

# Documentation

epsilon :: (Ord a, Floating a) => a Source #

data ONB a Source #

Constructors

 ONB FieldsonbU :: Vec3 a onbV :: Vec3 a onbW :: Vec3 a

Instances

 Eq a => Eq (ONB a) Source # Methods(==) :: ONB a -> ONB a -> Bool #(/=) :: ONB a -> ONB a -> Bool # Ord a => Ord (ONB a) Source # Methodscompare :: ONB a -> ONB a -> Ordering #(<) :: ONB a -> ONB a -> Bool #(<=) :: ONB a -> ONB a -> Bool #(>) :: ONB a -> ONB a -> Bool #(>=) :: ONB a -> ONB a -> Bool #max :: ONB a -> ONB a -> ONB a #min :: ONB a -> ONB a -> ONB a # Read a => Read (ONB a) Source # MethodsreadsPrec :: Int -> ReadS (ONB a) #readList :: ReadS [ONB a] #readPrec :: ReadPrec (ONB a) # Show a => Show (ONB a) Source # MethodsshowsPrec :: Int -> ONB a -> ShowS #show :: ONB a -> String #showList :: [ONB a] -> ShowS #

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

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

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

mkFromUV :: Floating a => Vec3 a -> Vec3 a -> ONB a Source #

mkFromVU :: Floating a => Vec3 a -> Vec3 a -> ONB a Source #

mkFromUW :: Floating a => Vec3 a -> Vec3 a -> ONB a Source #

mkFromWU :: Floating a => Vec3 a -> Vec3 a -> ONB a Source #

mkFromVW :: Floating a => Vec3 a -> Vec3 a -> ONB a Source #

mkFromWV :: Floating a => Vec3 a -> Vec3 a -> ONB a Source #