D2D1Vec3Length function

Returns the length of a 3 dimensional vector.

Syntax


FLOAT WINAPI D2D1Vec3Length(
  _In_ FLOAT x,
  _In_ FLOAT y,
  _In_ FLOAT z
);

Parameters

x [in]

Type: FLOAT

The x value of the vector.

y [in]

Type: FLOAT

The y value of the vector.

z [in]

Type: FLOAT

The z value of the vector.

Return value

Type: FLOAT

The length of the vector.

Requirements

Header

D2d1_1.h

Library

D2d1.lib

DLL

D2d1.dll

 

 

Show: