Corrects small typo in atan2() documentation.
This commit is contained in:
parent
f27931f365
commit
9838c4df7c
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@
|
||||||
<description>
|
<description>
|
||||||
Returns the arc tangent of [code]y/x[/code] in radians. Use to get the angle of tangent [code]y/x[/code]. To compute the value, the method takes into account the sign of both arguments in order to determine the quadrant.
|
Returns the arc tangent of [code]y/x[/code] in radians. Use to get the angle of tangent [code]y/x[/code]. To compute the value, the method takes into account the sign of both arguments in order to determine the quadrant.
|
||||||
[codeblock]
|
[codeblock]
|
||||||
a = atan(0, -1) # a is 3.141593
|
a = atan2(0, -1) # a is 3.141593
|
||||||
[/codeblock]
|
[/codeblock]
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
|
Loading…
Reference in a new issue