Q3Vector3D_Normalize
You can use theQ3Vector3D_Normalizefunction to normalize a three-dimensional vector.
TQ3Vector3D *Q3Vector3D_Normalize ( const TQ3Vector3D *vector3D, TQ3Vector3D *result);
vector3D- A three-dimensional vector.
result- On exit, the normalized form of the specified vector.
DESCRIPTION
TheQ3Vector3D_Normalizefunction returns, as its function result and in theresultparameter, the normalized form of the vectorvector3D. Note that on entry theresultparameter can be the same as thevector3Dparameter.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help