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