Click or drag to resize
Ab4d.SharpEngine logo

CameraUtilsNormalizeAngleTo360 Method

Returns an angle that is normalized so that it is always in range from 0 to 360 degrees. For example -90 is converted into 270; 400 is converted into 40. To get an angle in range from -180 to 180, use the NormalizeAngleTo180(Single) method.

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public static float NormalizeAngleTo360(
	float angleInDegrees
)

Parameters

angleInDegrees  Single
angle in degrees

Return Value

Single
normalized angle in interval between 0 and 360 degrees
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.CameraUtils.NormalizeAngleTo360(System.Single)"]

See Also