mul


Description:

public void mul (double factor)

Multiplies each component of the this by factor.

Note that this is equivalent to multiplying the vectors length by factor.

Parameters:

this

a pointer to a Vector2.

factor

a scalar.