XMVector4ReciprocalLength

Computes the reciprocal of the length of a 4D vector.

Syntax

XMVECTOR XMVector4ReciprocalLength(
         XMVECTOR V
)  

Parameters

V
Type: XMVECTOR 

4D vector.

Return value

Type: XMVECTOR 

Returns the reciprocal of the length of V.

Requirements

Header: Declared in directxmath.h.