MathHelper.ToDegrees Method
Converts radians to degrees.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public static float ToDegrees (
float radians
)
Parameters
- radians
Type: Single
The angle in radians.
Return Value
The angle in degrees.
See Also
Reference
MathHelper Class
MathHelper Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone