Function

atan2

Returns the angle theta from the conversion of rectangular coordinates (b, a) to polar coordinates (r, theta).

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

atan2

Android
public fun atan2(a: RemoteFloat, b: RemoteFloat): RemoteFloat

Returns the angle theta from the conversion of rectangular coordinates (b, a) to polar coordinates (r, theta).

Parameters

a The y-coordinate
b The x-coordinate