UtilAngleBetweenUnitVectors(Vector2, Vector2) Method |
Returns the angle (in radians) between two unit
Vector2 directions.
Namespace: Demo3D.CommonAssembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.01.00
Syntaxpublic static double AngleBetweenUnitVectors(
Vector2 v1,
Vector2 v2
)
Parameters
- v1 Vector2
- First unit Vector2 direction.
- v2 Vector2
- Second unit Vector2 direction.
Return Value
DoubleThe angle (in radians) between the unit
Vector2 directions.
Remarks
See Also