Returns the square of the length of a quaternion.
FLOAT D3DXQuaternionLengthSq( CONST D3DXQUATERNION * pQ );
The quaternion's squared length.
Use D3DXQuaternionNormalize for any quaternion input that is not already normalized.
Header: Declared in D3dx9math.h.