MathHelperToRadians Method |
Converts degrees to radians.
Namespace:
SampSharp.Entities.SAMP
Assembly:
SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntaxpublic 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