9

152 Chapter 4: Obj ect Properties
original two. Vector addition is commutative:
V+W=W+V.
Adding two vectors
Subtracting two vectors gives the vector between
the two points.
Subtracting two vectors
Scalar Multiplication and Division
Multiplying a vector by a scalar changes the
vectorslength,asdoesdividingthevectorbya
scalar.
Vector Length and Direction
The length of a vector is obtained from the
Py thagorean theorem.
In 3ds Max expressions, the length() function
returnsthisvalue.
The direction of the vector is the vector divided
by its length; this gives you a unit vector with the
same direct ion.
The distance between two points is the length of
the vector between them.
Subtracting vectors to obtain a distance