Click or drag to resize

UtilSignedAngleBetweenUnitVectors Method

Calculates the signed angle between two vectors in radians (must be unit vectors).

Namespace:  Demo3D.Common
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntax
C#
public static double SignedAngleBetweenUnitVectors(
	Vector3 v1,
	Vector3 v2,
	Vector3 n
)

Parameters

v1
Type: Microsoft.DirectXVector3
The first vector.
v2
Type: Microsoft.DirectXVector3
The second vector.
n
Type: Microsoft.DirectXVector3
Normal of the reference plane.

Return Value

Type: Double
The signed angle between the two supplied unit vectors.
Remarks
See Also