Skip to content

Latest commit

 

History

History
91 lines (70 loc) · 2.13 KB

nf-directxmath-xmvectormod.md

File metadata and controls

91 lines (70 loc) · 2.13 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:directxmath.XMVectorMod
XMVectorMod function (directxmath.h)
Computes the per-component floating-point remainder of the quotient of two vectors.
Use DirectX..XMVectorMod
XMVectorMod
XMVectorMod method [DirectX Math Support APIs]
dxmath.xmvectormod
dxmath\xmvectormod.htm
dxmath
M:Microsoft.directx_sdk.arithmetic.XMVectorMod(XMVECTOR,XMVECTOR)
12/05/2018
Use DirectX..XMVectorMod, XMVectorMod, XMVectorMod method [DirectX Math Support APIs], dxmath.xmvectormod
directxmath.h
DirectXMath.h
Windows
Use DirectX.
Windows
19H1
XMVectorMod
directxmath/XMVectorMod
c++
APIRef
kbSyntax
COM
directxmathvector.inl
XMVectorMod

XMVectorMod function

-description

Computes the per-component floating-point remainder of the quotient of two vectors.

-parameters

-param V1 [in]

Vector dividend.

-param V2 [in]

Vector divisor.

-returns

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;

Platform Requirements

Microsoft Visual Studio 2010 or Microsoft Visual Studio 2012 with the Windows SDK for Windows 8. Supported for Win32 desktop apps, Windows Store apps, and Windows Phone 8 apps.

-see-also

Vector Arithmetic Functions