Module
GLMatrix.Quat
- Package
- purescript-gl-matrix
- Repository
- dirkz/purescript-gl-matrix
#exactEquals Source
exactEquals :: Quat -> Quat -> Boolean
Returns whether or not the quaternions have exactly the same elements in the same position (when compared with ===)
#calculateW Source
calculateW :: Quat -> Quat
Calculates 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 -> Number
Calculates the squared length of a quat
#unsafeFromNumbers Source
unsafeFromNumbers :: Partial => Array Number -> Quat
Create a vector from an array produced by numbers
.