UnsafeNativeMethods.Quaternion.Dot(Quaternion,Quaternion) Method (Microsoft.DirectX)
Returns the dot product of two quaternions.
Note: For programming in Microsoft Visual Basic .NET or Microsoft JScript .NET, use the equivalent method in the Microsoft.DirectX structures.
Definition
Visual Basic Public Shared Function Dot( _
ByVal pQuat1 As Quaternion, _
ByVal pQuat2 As Quaternion _
) As SingleC# public static float Dot(
Quaternion pQuat1,
Quaternion pQuat2
);C++ public:
static float Dot(
Quaternion pQuat1,
Quaternion pQuat2
);JScript public static function Dot(
pQuat1 : Quaternion,
pQuat2 : Quaternion
) : float;
Parameters
pQuat1 Microsoft.DirectX.Quaternion
Source Quaternion structure.pQuat2 Microsoft.DirectX.Quaternion
Source Quaternion structure.
Return Value
System.Single
Dot product of two quaternions.
See Also