PolarCoordinate
-
PolarCoordinate()
-
PolarCoordinate(angle: float, radius: float)
Properties
Name | Description | Type |
---|---|---|
angle | The angle in radians. | float |
radius | The radius of the coordinate. | float |
Methods
To Cartesian
to_cartesian() → Vec2
Convert the polar coordinate to Cartesian coordinates.
Returns
Vec2
: The Cartesian coordinate (vector) representation of the polar coordinate.