Microsoft DirectX 8.1 (C++)

D3DXQuaternionIsIdentity

Determines if a quaternion is an identity quaternion.

BOOL D3DXQuaternionIsIdentity(
  CONST D3DXQUATERNION* pQ
); 

Parameters

pQ
[in] Pointer to the D3DXQUATERNION structure that will be tested for identity.

Return Values

If the quaternion is an identity quaternion, this function returns TRUE. Otherwise, this function returns FALSE.

Requirements

  Header: Declared in D3dx8math.h.
  Import Library: Use D3dx8.lib.

See Also

D3DXQuaternionIdentity