Method AngleBetween
AngleBetween(Quaternion, Quaternion)
Returns the angle in degrees between two rotations a and b.
Declaration
public static float AngleBetween(Quaternion a, Quaternion b)
Parameters
Type | Name | Description |
---|---|---|
Quaternion | a | The first quaternion to calculate angle. |
Quaternion | b | The second quaternion to calculate angle. |
Returns
Type | Description |
---|---|
System.Single | The angle in degrees between two rotations a and b. |