Q3Vector3D_Scale
You can use theQ3Vector3D_Scalefunction to scale a three-dimensional vector.
TQ3Vector3D *Q3Vector3D_Scale ( const TQ3Vector3D *vector3D, float scalar, TQ3Vector3D *result);
vector3D- A three-dimensional vector.
scalar- A floating-point number.
result- On exit, a three-dimensional vector that is the result of multiplying each of its components by the value of the
scalarparameter.DESCRIPTION
TheQ3Vector3D_Scalefunction returns, as its function result and in theresultparameter, the three-dimensional vector that is the result of multiplying each of the components of the vectorvector3Dby the value of thescalarparameter. 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