Function directx_math::XMQuaternionIsInfinite [−][src]
pub fn XMQuaternionIsInfinite(Q: FXMVECTOR) -> bool
Test whether any component of a quaternion is either positive or negative infinity.
Parameters
Q
Quaternion to test.
Return value
Returns true
if any component of Q
is positive or negative infinity, 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.
Reference
https://docs.microsoft.com/en-us/windows/win32/api/directxmath/nf-directxmath-XMQuaternionIsInfinite