Share via


XMVector4AngleBetweenNormals 関数 (directxmath.h)

2 つの正規化された 4D ベクトル間のラジアン角度を計算します。

構文

XMVECTOR XM_CALLCONV XMVector4AngleBetweenNormals(
  [in] FXMVECTOR N1,
  [in] FXMVECTOR N2
) noexcept;

パラメーター

[in] N1

正規化された 4D ベクター。

[in] N2

正規化された 4D ベクター。

戻り値

ベクターを返します。 N1N2 の間のラジアン角度は、各コンポーネントにレプリケートされます。

注釈

プラットフォームの要件

Microsoft Visual Studio 2010 または Microsoft Visual Studio 2012 と Windows SDK for Windows 8。 Win32 デスクトップ アプリ、Windows ストア アプリ、Windows Phone 8 アプリでサポートされます。

要件

要件
対象プラットフォーム Windows
ヘッダー directxmath.h (DirectXMath.h を含む)

こちらもご覧ください

DirectXMath ライブラリ 4D ベクタージオメトリック関数

XMVector4AngleBetweenNormalsEst