Windows Dev Center

XMConvertFloatToHalfStream
XMConvertHalfToFloatStream
XMMatrixDecompose
XMPlaneTransformStream
XMVector2TransformCoordStream
XMVector2TransformNormalStream
XMVector2TransformStream
XMVector3ProjectStream
XMVector3TransformCoordStream
XMVector3TransformNormalStream
XMVector3TransformStream
XMVector3UnprojectStream
XMVector4TransformStream
Expand Minimize

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.

Remarks

Windows Phone 8.1: This API is supported.

Requirements

Header

D2d1_1.h

Library

D2d1.lib

DLL

D2d1.dll

 

 

Community Additions

ADD
Show:
© 2015 Microsoft