from Polar Coordinates
fun <T : Number, Comparable<T>> fromPolarCoordinates(distance: T, angle: Angle<T>, type: KClass<T>): Vec2<T>
Returns a 2D vector defined by its polar coordinates of given type: radial distance and angle.
Since
v2.0.0
Returns a 2D vector defined by its polar coordinates: radial distance and angle.
Since
v1.1.0
Returns a 2D vector defined by its polar coordinates: radial distance and angle.
Since
v2.0.0