XMVectorFloor

Computes the floor of each component of an XMVECTOR.

Remarks

The following pseudocode shows how this function is implemented.

XMVECTOR Result;

Result.x = floorf(V.x);
Result.y = floorf(V.y);
Result.z = floorf(V.z);
Result.w = floorf(V.w);

return Result;  

Syntax

XMVECTOR XMVectorFloor(
         XMVECTOR V
)  

Parameters

V
Type: XMVECTOR 

Vector for which to compute the floor.

Return value

Type: XMVECTOR 

Returns a vector whose components are the floor of the corresponding components of V.

Requirements

Header: Declared in directxmath.h.

See also

XMVectorCeiling