XMVector2ReciprocalLength

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

Syntax

XMVECTOR XMVector2ReciprocalLength(
         XMVECTOR V
)  

Parameters

V
Type: XMVECTOR 

2D vector.

Return value

Type: XMVECTOR 

Returns the reciprocal of the length of V.

Requirements

Header: Declared in directxmath.h.