mul

Method:

mul - scalar multiplication

Syntax:

v2 = v.mul(f);

Parameters:

f - scalar for multiplying the vector

Returns:

v2 - result

Description:

Multiplies the vector with the given scalar value and returns the resulting new vector.

Example:

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