vect-0.4.0: A low-dimensional linear algebra library, tailored to computer graphics.Source codeContentsIndex
Data.Vect.Double.Util.Dim3
Synopsis
structVec3 :: [Double] -> [Vec3]
destructVec3 :: [Vec3] -> [Double]
det3 :: Vec3 -> Vec3 -> Vec3 -> Double
translate3X :: Double -> Vec3 -> Vec3
translate3Y :: Double -> Vec3 -> Vec3
translate3Z :: Double -> Vec3 -> Vec3
vec3X :: Vec3
vec3Y :: Vec3
vec3Z :: Vec3
rotMatrixZ :: Double -> Mat3
rotMatrixY :: Double -> Mat3
rotMatrixX :: Double -> Mat3
rotate3' :: Double -> Normal3 -> Vec3 -> Vec3
rotate3 :: Double -> Vec3 -> Vec3 -> Vec3
rotMatrix3 :: Vec3 -> Double -> Mat3
rotMatrix3' :: Normal3 -> Double -> Mat3
Documentation
structVec3 :: [Double] -> [Vec3]Source
destructVec3 :: [Vec3] -> [Double]Source
det3 :: Vec3 -> Vec3 -> Vec3 -> DoubleSource
translate3X :: Double -> Vec3 -> Vec3Source
translate3Y :: Double -> Vec3 -> Vec3Source
translate3Z :: Double -> Vec3 -> Vec3Source
vec3X :: Vec3Source
vec3Y :: Vec3Source
vec3Z :: Vec3Source
rotMatrixZ :: Double -> Mat3Source
rotMatrixY :: Double -> Mat3Source
rotMatrixX :: Double -> Mat3Source
rotate3'Source
:: Doubleangle (in radians)
-> Normal3axis (should be a unit vector!)
-> Vec3vector
-> Vec3result
rotate3Source
:: Doubleangle (in radians)
-> Vec3axis (arbitrary nonzero vector)
-> Vec3vector
-> Vec3result
rotMatrix3 :: Vec3 -> Double -> Mat3Source
Rotation around an arbitrary 3D vector. The resulting 3x3 matrix is intended for multiplication on the right.
rotMatrix3' :: Normal3 -> Double -> Mat3Source
Rotation around an arbitrary 3D unit vector. The resulting 3x3 matrix is intended for multiplication on the right.
Produced by Haddock version 2.4.2