Click or drag to resize
AB4D 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(Double) method.

Namespace: Ab3d.Utilities
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public static double NormalizeAngleTo360(
	double angleInDegrees
)

Parameters

angleInDegrees  Double
angle in degrees

Return Value

Double
normalized angle in interval between 0 and 360 degrees
See Also