Module
GLMatrix.Quat.Mix
- Package
- purescript-gl-matrix
- Repository
- dirkz/purescript-gl-matrix
#rotationTo Source
rotationTo :: Vec3 -> Vec3 -> Quat
Sets a quaternion to represent the shortest rotation from one vector to another. Both vectors are assumed to be unit length.