MathHelperToDegrees Method |
Converts radians to degrees.
Namespace:
SampSharp.Entities.SAMP
Assembly:
SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax public static float ToDegrees(
float radians
)
Parameters
- radians
- Type: SystemSingle
The angle in radians.
Return Value
Type:
SingleThe angle in degrees.
Remarks
This method uses double precision internally,
though it returns single float
Factor = 180 / pi
See Also