| MathHelperToRadians Method (Single) |
Converts an angle value from degrees to radians (single-precision).
Namespace: DigitalRune.MathematicsAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static float ToRadians(
float degree
)
Public Shared Function ToRadians (
degree As Single
) As Single
public:
static float ToRadians(
float degree
)
static member ToRadians :
degree : float32 -> float32
Parameters
- degree
- Type: SystemSingle
The angle in degrees.
Return Value
Type:
SingleThe angle in radians.
See Also