pub fn XMVectorMergeXY(V1: FXMVECTOR, V2: FXMVECTOR) -> XMVECTORExpand description
Creates a new vector by combining the x and y-components of two vectors.
§Parameters
V1 First vector.
V2 Second vector.
§Return value
Returns the merged vector.
§Remarks
The following pseudocode demonstrates the operation of the function:
XMVECTOR Result;
Result.x = V1.x;
Result.y = V2.x;
Result.z = V1.y;
Result.w = V2.y;
return Result;§Reference
https://docs.microsoft.com/en-us/windows/win32/api/directxmath/nf-directxmath-XMVectorMergeXY