Difference between revisions of "FastSin"
From King Arthur's Gold Wiki
Shadlington (Talk | contribs) (Created page with "<onlyinclude> Returns the sine of the given angle in radians. Faster, less reliable version. </onlyinclude> <syntaxhighlight lang="cpp"> float FastSin(float radians) </syntaxhigh...") |
Shadlington (Talk | contribs) |
||
Line 2: | Line 2: | ||
Returns the sine of the given angle in radians. Faster, less reliable version. | Returns the sine of the given angle in radians. Faster, less reliable version. | ||
</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 FastSin(float radians) | + | float Maths::FastSin(float radians) |
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Scripting]] | [[Category:Scripting]] | ||
[[Category:Global Functions]] | [[Category:Global Functions]] |
Latest revision as of 22:22, 6 September 2012
Returns the sine of the given angle in radians. Faster, less reliable version.
This method is part of the Maths namespace so you need to prefix calls to it with 'Maths::'.
float Maths::FastSin(float radians)