D2D1Vec3Length function (d2d1_1.h)

Returns the length of a 3 dimensional vector.

Syntax

FLOAT D2D1Vec3Length(
  [in] FLOAT x,
  [in] FLOAT y,
  [in] FLOAT z
);

Parameters

[in] x

Type: FLOAT

The x value of the vector.

[in] y

Type: FLOAT

The y value of the vector.

[in] z

Type: FLOAT

The z value of the vector.

Return value

Type: FLOAT

The length of the vector.

Requirements

Requirement Value
Target Platform Windows
Header d2d1_1.h
Library D2d1.lib
DLL D2d1.dll