rotate2v

Method:

rotate2v - concatenate rotation defined by two vectors

Syntax:

v.rotate2v(vFrom, vTo);

Parameters:

fOrigin - rotation origin

Returns:

-

Description:

Concatenates rotation specified by two vectors.

Example:

// rotate 90 degrees about the 'y' axis