Representation of a vector2 as polar coordinates

 ↕- angle (Angle to the x-axis)
 -→ Magnitude (Distance from the center)  

Implements

Constructors

Properties

Methods

Constructors

Properties

angle: number = 0
magnitude: number = 0

Methods

  • Set the properties of this instance at once

    Parameters

    • _angle: number = 0
    • _magnitude: number = 1

    Returns void