Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2016 Microsoft