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: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
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