 | AnglesAngleDiffPositive Method |
Computes the smallest difference from first to second angle. Takes into account cases like AngleDiff( -Pi, Pi ) == 0. Returned radian angle is between (0, 2*Pi).
Namespace: Slash.Math.UtilsAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic static float AngleDiffPositive(
float angleA,
float angleB
)
Public Shared Function AngleDiffPositive (
angleA As Single,
angleB As Single
) As Single
public:
static float AngleDiffPositive(
float angleA,
float angleB
)
static member AngleDiffPositive :
angleA : float32 *
angleB : float32 -> float32
Parameters
- angleA
- Type: SystemSingle
First angle (in radians). - angleB
- Type: SystemSingle
Second angle (in radians).
Return Value
Type:
Single Smallest difference between the two angles (in radians) between (0, 2*Pi).
See Also