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