RadiansToDegrees - Math

From the CreationKit Wiki
Revision as of 07:57, 12 September 2012 by imported>JLundin
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