Add math.atan2 (#819)
This commit is contained in:
1 parent
b93cb9b322
commit
cc579f8fd6
4 files changed
+54
No files matched your search
@@ -145,6 +145,12 @@ external function acos(x: Number): Float
|
||||
/// [1]: https://en.wikipedia.org/wiki/Inverse_trigonometric_functions
|
||||
external function atan(x: Number): Float
|
||||
|
||||
/// Returns the [2-argument arctangent][1] of [x] and [y].
|
||||
///
|
||||
/// [1]: https://en.wikipedia.org/wiki/Atan2
|
||||
@Since { version = "0.28.0" }
|
||||
external function atan2(x: Number, y: Number): Float
|
||||
|
||||
/// Returns the [greatest common divisor][1] of [x] and [y].
|
||||
///
|
||||
/// [1]: https://en.wikipedia.org/wiki/Greatest_common_divisor
|
||||
|
||||
Reference in new issue
Block a user