XMVectorRotateLeft 模板

按给定数量的 32 位元素旋转向量。

语法

template<uint32_t Elements> XMVECTOR XMVectorRotateLeft(
  [in]  XMVECTOR V
);

参数

V

[in]向左旋转的矢量。

返回值

返回旋转的 XMVECTOR

备注

此函数是 XMVectorRotateLeft 的模板版本,其中 Elements 参数是模板值。

注意

XMVectorRotateLeft 模板是 DirectXMath 的新模板,不适用于 XNAMath 2.x。

 

命名空间:使用 DirectX

平台要求

Microsoft Visual Studio 2010 或 Microsoft Visual Studio 2012 与 Windows SDK for Windows 8。 支持 Win32 桌面应用、Windows 应用商店应用和 Windows Phone 8 应用。

要求

要求
标头
DirectXMath.h

另请参阅

DirectXMath 库模板函数

XMVectorPermute

XMVectorRotateRight

XMVectorShiftLeft