RadiansToDegrees - Math

From Creation Kit
Jump to: navigation, 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