Click or drag to resize
Ab4d.SharpEngine 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: Ab4d.SharpEngine.Cameras
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
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