C# Class NewTOAPIA.Graphics.Maths

Mostrar archivo Open project: Wiladams/NewTOAPIA

Public Methods

Method Description
DegreesToRadians ( float degrees ) : float

Convert degrees to Radians. There are 2*PI radians in a circle, or PI radians per 180 degrees. So, some simple multiplication and division.

RadiansToDegrees ( float radians ) : float

Convert radians to degrees

Method Details

DegreesToRadians() public static method

Convert degrees to Radians. There are 2*PI radians in a circle, or PI radians per 180 degrees. So, some simple multiplication and division.
public static DegreesToRadians ( float degrees ) : float
degrees float Value of angle to be converted expressed in degrees.
return float

RadiansToDegrees() public static method

Convert radians to degrees
public static RadiansToDegrees ( float radians ) : float
radians float
return float