Difference between revisions of "ATan"

From King Arthur's Gold Wiki
Jump to: navigation, search
(Created page with "<onlyinclude> Returns the arc tangent of the given angle in radians. </onlyinclude> <syntaxhighlight lang="cpp"> float ATan(float radians) </syntaxhighlight> [[Category:Scriptin...")
 
 
Line 2: Line 2:
 
Returns the arc tangent of the given angle in radians.
 
Returns the arc tangent of the given angle in radians.
 
</onlyinclude>
 
</onlyinclude>
 +
 +
This method is part of the Maths namespace so you need to prefix calls to it with 'Maths::'.
 
<syntaxhighlight lang="cpp">
 
<syntaxhighlight lang="cpp">
float ATan(float radians)
+
float Maths::ATan(float radians)
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
[[Category:Scripting]]
 
[[Category:Scripting]]
 
[[Category:Global Functions]]
 
[[Category:Global Functions]]

Latest revision as of 22:23, 6 September 2012

Returns the arc tangent of the given angle in radians.


This method is part of the Maths namespace so you need to prefix calls to it with 'Maths::'.

float Maths::ATan(float radians)