To Degrees - CSharp System

CSharp examples for System:Math Geometry

Description

To Degrees

Demo Code


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;
        }
}

Related Tutorials