| point2line index |
||||
| Name | setRotation ( ) | |||
| Description | Sets the rotation of the vector. All rotations are based on the unit circle where angle 0 and PI*2 is 3 o'clock. It is slightly faster to call rotate() by a delta angle. | |||
| Syntax | setRotation(angle); |
|||
| Parameters |
|
|||
| Returns | None | |||
| Usage | Web & Application | |||
| Related | rotate ( ) |
|||
| Examples | |
|||