Click or drag to resize
Ab4d.SharpEngine logo

CameraUtilsGetClosestPathStartAngle Method

Returns an adjusted start angle so that the path to the end angle will be the shortest.

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public static float GetClosestPathStartAngle(
	float startAngle,
	float endAngle
)

Parameters

startAngle  Single
start angle in degrees
endAngle  Single
end angle in degrees

Return Value

Single
adjusted start angle so that the path to the end angle will be the shortest
See Also