XMVectorExp10 函数 (directxmath.h)
计算每个组件提高到电源的十个。
语法
XMVECTOR XM_CALLCONV XMVectorExp10(
[in] FXMVECTOR V
) noexcept;
参数
[in] V
用于底 10 的指数的向量。
返回值
返回一个向量,其组件为 10,提升到 V 的相应分量的幂。
注解
平台要求
支持 Win32 桌面应用、Windows 应用商店应用和 Windows Phone 8 应用。DirectXMath 3.16 中添加了此函数
XMVectorExp10 的实现方式如下:
XMVECTOR Result;
Result.x = powf(10.0f, V.x);
Result.y = powf(10.0f, V.y);
Result.z = powf(10.0f, V.z);
Result.w = powf(10.0f, V.w);
return Result;
要求
要求 | 值 |
---|---|
最低受支持的客户端 | Windows 10内部版本 20348 |
最低受支持的服务器 | Windows 10内部版本 20348 |
目标平台 | Windows |
标头 | directxmath.h (包括 DirectXMath.h) |