point2line
index
 
Name divided ( )
Description Divides the vector by a divider and returns the result without changing the original.
Syntax
divided(divider);
Parameters
divider   to divide this vector (float)
Returns new vector containing the result of the division (Vect2)
Usage Web & Application
Related divide ( )
scaled ( )
added ( )
subtracted ( )
Examples
import point2line.*;

Vect2 velocity = new Vect2( 10, 10 );

Vect2 newVelocity = velocity.divided( 2 );

print( newVelocity ); // prints "Vect2( 5.0, 5.0 )"