pub fn XMVectorMod(V1: FXMVECTOR, V2: FXMVECTOR) -> XMVECTORExpand description
Computes the per-component floating-point remainder of the quotient of two vectors.
§Parameters
V1 Vector dividend.
V2 Vector divisor.
§Return value
Returns a vector whose components are the floating-point remainders of the divisions.
§Remarks
The following pseudocode demonstrates the operation of the function:
XMVECTOR Result;
Result.x = fmod(V1.x, V2.x);
Result.y = fmod(V1.y, V2.y);
Result.z = fmod(V1.z, V2.z);
Result.w = fmod(V1.w, V2.w);
return Result;§Reference
https://docs.microsoft.com/en-us/windows/win32/api/directxmath/nf-directxmath-XMVectorMod