XMVector3Rotate 関数 (directxmath.h)
四元数を使用して 3D ベクトルを回転します。
構文
XMVECTOR XM_CALLCONV XMVector3Rotate(
[in] FXMVECTOR V,
[in] FXMVECTOR RotationQuaternion
) noexcept;
パラメーター
[in] V
回転する 3D ベクター。
[in] RotationQuaternion
ベクトルに適用する回転を表す四元数。
戻り値
回転した 3D ベクターを返します。
解説
プラットフォームの要件
Windows 8 用 Windows SDK を使用した Microsoft Visual Studio 2010 または Microsoft Visual Studio 2012。 Win32 デスクトップ アプリ、Windows ストア アプリ、Windows Phone 8 アプリでサポートされます。要件
対象プラットフォーム | Windows |
ヘッダー | directxmath.h (DirectXMath.h を含む) |