MathHelperWrapAngle Method |
Reduces a given angle to a value between π and -π.
Namespace:
SampSharp.Entities.SAMP
Assembly:
SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntaxpublic static float WrapAngle(
float angle
)
Parameters
- angle
- Type: SystemSingle
The angle to reduce, in radians.
Return Value
Type:
SingleThe new angle, in radians.
See Also