div

Method:

div - division by scalar

Syntax:

v2 = v.div(f);

Parameters:

f - floating point number

Returns:

v2 - vector

Description:

Divides the vector by given scalar and returns a new vector holding the result.

Example:

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