Q3Vector2D_Scale
You can use theQ3Vector2D_Scalefunction to scale a two-dimensional vector.
TQ3Vector2D *Q3Vector2D_Scale ( const TQ3Vector2D *vector2D, float scalar, TQ3Vector2D *result);
vector2D- A two-dimensional vector.
scalar- A floating-point number.
result- On exit, a two-dimensional vector that is the result of multiplying each of the components of
vector2Dby the value of thescalarparameter.DESCRIPTION
TheQ3Vector2D_Scalefunction returns, as its function result and in theresultparameter, the two-dimensional vector that is the result of multiplying each of the components of the vectorvector2Dby the value of thescalarparameter. 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