dot

Method:

dot - dot product

Syntax:

f = v.dot(v2);

Parameters:

v2 - vector

Returns:

f - floating point number

Description:

Performs dot product between 'v' and given parameter 'v2' and returns the result. The operation has no impact to the object itself

Example:

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