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