Mod:Creation Kit/DegreesToRadians - Math

Member of: Mod:Creation Kit/Math Script

Converts from degrees to radians.

Syntax
float Function DegreesToRadians(float afDegrees) native global

Parameters

 * afDegrees: The value in degrees to convert.

Return Value
The passed-in value converted to radians.

Examples
float x = DegreesToRadians(360) ; x ~= 6.28318 float y = DegreesToRadians(90) ; y ~= 1.57080