D3DXQuaternionNormalize() and D3DXQuaternionLength()

Started by
0 comments, last by Dark Schneider 16 years, 8 months ago
My question is if D3DXQuaternionNormalize() checks if quaternion is normalized or always do the operations. So, should I do?: D3DXQuaternionNormalize(&quat,&quat); or?: if(D3DXQuaternionLength(&quat)!=1) D3DXQuaternionNormalize(&quat,&quat); How FAST is D3DXQuaternionLength()?.
Advertisement
I have tried by myself, and is absolutely best using directly D3DXQuaternionNormalize() with no worry about if is normalized or not.

This topic is closed to new replies.

Advertisement