Module
GLMatrix.Quat
- Package
- purescript-gl-matrix
- Repository
- dirkz/purescript-gl-matrix
#exactEquals Source
exactEquals :: Quat -> Quat -> BooleanReturns whether or not the quaternions have exactly the same elements in the same position (when compared with ===)
#calculateW Source
calculateW :: Quat -> QuatCalculates the W component of a quat from the X, Y, and Z components. Assumes that quaternion is 1 unit in length. Any existing W component will be ignored.
#squaredLength Source
squaredLength :: Quat -> NumberCalculates the squared length of a quat
#unsafeFromNumbers Source
unsafeFromNumbers :: Partial => Array Number -> QuatCreate a vector from an array produced by numbers.