Click or drag to resize

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
Syntax
C#
public static float WrapAngle(
	float angle
)

Parameters

angle
Type: SystemSingle
The angle to reduce, in radians.

Return Value

Type: Single
The new angle, in radians.
See Also