 |
MathUtilsGetAngleDiff Method |
Returned the smallest difference between two angles in degrees (result is in range between 0 and 180).
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntaxpublic static float GetAngleDiff(
float angle1,
float angle2
)
Parameters
- angle1 Single
- first angle in degrees
- angle2 Single
- second angle in degrees
Return Value
Singlethe smallest difference between two angles in degrees (difference is always positive)
See Also