XMQuaternionIsNaN

Test whether any component of a quaternion is a NaN.

Syntax

bool XMQuaternionIsNaN(
         XMVECTOR Q
)  

Parameters

Q
Type: XMVECTOR 

Quaternion to test.

Return value

Type: bool 

Returns true if any component of Q is a NaN,and false otherwise.

Remarks

The DirectXMath quaternion functions use an XMVECTOR 4-vector to represent quaternions, where the X, Y, and Z components are the vector part and the W component is the scalar part.

Requirements

Header: Declared in directxmath.h.