Share via


Geometry.RadianToDegree(Single) Method (Microsoft.DirectX.Direct3D)

Converts radians to degrees.

Definition

Visual Basic Public Shared Function RadianToDegree( _
    ByVal radian As Single _
) As Single
C# public static float RadianToDegree(
    float radian
);
C++ public:
static float RadianToDegree(
    float radian
);
JScript public static function RadianToDegree(
    radian : float
) : float;

Parameters

radian System.Single
Value, in radians, to convert to degrees.

Return Value

System.Single
Converted value in degrees.

Remarks

This method uses the following value for pi to compute radians:

3.141592654f