Companion

Functions

Link copied to clipboard

Creates a PolarCoordinates instance from Cartesian coordinates.

Link copied to clipboard
fun toCartesian(radius: Double, azimuth: Double): Vec2

Converts polar coordinates to Cartesian coordinates.