Difference between revisions of "RadiansToDegrees - Math"
Jump to navigation
Jump to search
imported>Jlundin |
imported>JLundin |
||
Line 1: | Line 1: | ||
[[Category:Scripting]] | [[Category:Scripting]] | ||
[[Category:Papyrus]] | [[Category:Papyrus]] | ||
[[Category:Non-delayed Native Function]] | |||
'''Member of:''' [[Math Script]] | '''Member of:''' [[Math Script]] | ||
Revision as of 07:57, 12 September 2012
Member of: Math Script
Converts from radians to degrees.
Syntax
float Function RadiansToDegrees(float afRadians) native global
Parameters
- afRadians: The value in radians to convert.
Return Value
The passed-in value converted to degrees.
Examples
float x = RadiansToDegrees(6.28318) ; x ~= 360
float y = RadiansToDegrees(1.57080) ; y ~= 90