atan2: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.00|= Game version | |||
____________________________________________________________________________________________ | |||
| Arctangens of x/y. Used to determine the angle of a vector [x,y]. Result in degrees. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | x '''atan2''' y |= Syntax | ||
|p1= x: [[Number]] |= Parameter 1 | |||
|p2= y: [[Number]] |= Parameter 2 | |||
| [[Number]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>5 atan2 3</pre> | |||
returns 59.0362 |= Example 1 | |||
____________________________________________________________________________________________ | |||
| [[atan]], [[tan]] |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|ATAN2]] | |||
[[Category:Scripting Commands OFP 1.96|ATAN2]] | |||
[[Category:Scripting Commands OFP 1.46|ATAN2]] | |||
[[Category:Scripting Commands ArmA|ATAN2]] | |||
1 | |||
[[ |
Revision as of 22:05, 1 August 2006
Description
- Description:
- Arctangens of x/y. Used to determine the angle of a vector [x,y]. Result in degrees.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
5 atan2 3
returns 59.0362
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note