XMVectorAbs

Computes the absolute value of each component of an XMVECTOR.

Syntax

XMVECTOR XMVectorAbs(
         XMVECTOR V
)  

Parameters

V
Type: XMVECTOR 

Vector for which to compute the absolute value.

Return value

Type: XMVECTOR 

Returns a vector whose components are the absolute value of the corresponding components of V.

Requirements

Header: Declared in directxmath.h.