CSharp examples for System:Math Geometry
To Degrees
using Microsoft.Xna.Framework; using System.Text; using System.Linq; using System.Collections.Generic; using System;//from w w w. j ava 2 s . co m public class Main{ public static float ToDegrees(float radians) { return radians * (float)Math.PI / 180; } }