XMVector3Orthogonal

Computes a vector perpendicular to a 3D vector.

Syntax

XMVECTOR XMVector3Orthogonal(
         XMVECTOR V
)  

Parameters

V
Type: XMVECTOR 

3D vector.

Return value

Type: XMVECTOR 

Returns a 3D vector orthogonal to V.

Requirements

Header: Declared in directxmath.h.