Q3Vector2D_Normalize
You can use theQ3Vector2D_Normalizefunction to normalize a two-dimensional vector.
TQ3Vector2D *Q3Vector2D_Normalize ( const TQ3Vector2D *vector2D, TQ3Vector2D *result);
vector2D- A two-dimensional vector.
result- On exit, the normalized form of the specified vector.
DESCRIPTION
TheQ3Vector2D_Normalizefunction returns, as its function result and in theresultparameter, the normalized form of the vectorvector2D. Note that on entry theresultparameter can be the same as thevector2Dparameter.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help