Click or drag to resize
AB4D logo

SphericalCameraNormalizeAngles Method

NormalizeAngles normalizes the Heading, Attitude and Bank angles so that their values are between 0 and 360 (for example converting 390 into 30). When normalizeTo180Degrees parameter is true (false by default), the value is returned in range from -180 to 180 instead of 0 to 360.

Namespace: Ab3d.Cameras
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public void NormalizeAngles(
	bool normalizeTo180Degrees = false
)

Parameters

normalizeTo180Degrees  Boolean  (Optional)
when true (false by default), the value is returned in range from -180 to 180 instead of 0 to 360.
See Also