Function directx_math::XMVectorGetX [−][src]
pub fn XMVectorGetX(V: XMVECTOR) -> f32
Retrieve the x
component of an XMVECTOR Data Type.
Parameters
V
A valid 4D vector storing floating-point data
Return value
The value in the x
component of the 4D vector storing floating-point data V
Reference
https://docs.microsoft.com/en-us/windows/win32/api/directxmath/nf-directxmath-XMVectorGetX