chickadee » quaternions » unit-vector

unit-vector qprocedure

Returns a quaternion in same direction as q but of unit length; the real part of q is set to 0.