This topic has not yet been rated - Rate this topic

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
Type: Single
The angle in degrees.

Return Value

The angle in radians.
Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ