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-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
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