[−][src]Function directx_math::XMQuaternionEqual
pub fn XMQuaternionEqual(Q1: FXMVECTOR, Q2: FXMVECTOR) -> bool
Tests whether two quaternions are equal.
Parameters
Q1
First quaternion to test.
Q2
Second quaternion to test.
Return value
Returns true
if the quaternions are equal 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-XMQuaternionEqual