RadiansToDegrees - Math

From the CreationKit Wiki
Revision as of 16:13, 20 October 2011 by imported>Jlundin (→‎Examples)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

See Also