Export (0) Print
Expand All

MathHelper.ToDegrees Method

Converts radians to degrees.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public static float ToDegrees (
         float radians
)

Parameters

radians
Type: Single
The angle in radians.

Return Value

The angle in degrees.

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone

Community Additions

ADD
Show:
© 2015 Microsoft