Export (0) Print
Expand All

MathHelper.ToRadians Method

Converts degrees to radians.

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

public static float ToRadians (
         float degrees
)

Parameters

degrees
The angle in degrees.

Return Value

The angle in radians.

Xbox 360, Windows XP SP2, Windows Vista

Community Additions

ADD
Show:
© 2014 Microsoft