XMVectorCeiling

Computes the ceiling of each component of an XMVECTOR.

Syntax

XMVECTOR XMVectorCeiling(
         XMVECTOR V
)  

Parameters

V
Type: XMVECTOR 

Vector for which to compute the ceiling.

Return value

Type: XMVECTOR 

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

Remarks

The following pseudocode shows how this function is implemented.

XMVECTOR Result;

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

return Result;  

Requirements

Header: Declared in directxmath.h.

See also

XMVectorFloor