CSharp examples for System:Math Geometry
To Radians
using Microsoft.Xna.Framework; using System.Text; using System.Linq; using System.Collections.Generic; using System;//from www. ja v a 2 s.com public class Main{ public static float ToRadians(float degrees) { return degrees * (float)Math.PI / 180; } }