point2line
index
 
Name rotateAround ( )
Description Rotates the position clockwise around another position by a delta angle (turning left from the vectors forward direction).
Syntax
rotateAround(position, deltaAngle);
Parameters
vector   to rotate around (Vect2)
deltaAngle   in radians (float)
Returns None
Usage Web & Application
Related rotatedAround ( )
rotated ( )
setRotation ( )
Examples
import point2line.Vect2;

Vect2 position1 = new Vect2( 50, 50 );
Vect2 position2 = new Vect2( 200, 200 );

// rotate position2 90 degrees around position1 //
position2.rotateAround( position1, radians( 90 ) );