V


vector
Describes magnitude and direction. In DirectAnimation, 2-D vectors are DAVector2 and Vector2Bvr behaviors and can be constructed from polar or Cartesian coordinates. 3-D vectors are DAVector3 and Vector3Bvr behaviors and can be constructed from spherical or Cartesian coordinates. Vectors can also be constructed from points. For example:

myVec3 = m.Sub(firstPt3, secondPt3);

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.