Demo3D 2016 API Documentation
Demo3D 2016 API Documentation
Demo3D Namespaces
Demo3D.Common Namespaces
Demo3D.Common
Util Class
Util Methods
AngleBetweenVectors Method
AngleBetweenVectors Method (Vector2, Vector2)
AngleBetweenVectors Method (Vector3, Vector3)
Util
AngleBetweenVectors Method (Vector3, Vector3)
Returns the angle (in radians) between two
Vector3
directions.
Namespace:
Demo3D.Common
Assembly:
Demo3D.Common (in Demo3D.Common.dll) Version: 10.0.7983.28765
Syntax
C#
Copy
public
static
double
AngleBetweenVectors
(
Vector3
v1
,
Vector3
v2
)
Parameters
v1
Type:
Microsoft.DirectX
Vector3
First
Vector3
direction.
v2
Type:
Microsoft.DirectX
Vector3
Second
Vector3
direction.
Return Value
Type:
Double
The angle (in radians) between the
Vector3
directions.
See Also
Reference
Util Class
AngleBetweenVectors Overload
Demo3D.Common Namespace
© Emulate3D Ltd 2016
Send comments on this topic to
support@demo3d.com