neg

Method:

neg - negate

Syntax:

v2 = v.neg();

Parameters:

-

Returns:

v2 - vector

Description:

Returns a vector pointing to opposite direction than the object in question.

Example:

v = new r3Vect(1, 0, 0);