XMConvertToDegrees 函数 (directxmath.h)
将以弧度为单位的角度转换为以度为单位的角度。
语法
float XMConvertToDegrees(
[in] float fRadians
) noexcept;
参数
[in] fRadians
角度的大小(以弧度为单位)。
返回值
角度的大小(以度为单位)。
备注
平台要求
带有 Windows SDK for Windows 8 的 Microsoft Visual Studio 2010 或 Microsoft Visual Studio 2012。 支持 Win32 桌面应用、Windows 应用商店应用和 Windows Phone 8 应用。要求
目标平台 | Windows |
标头 | directxmath.h |
请参阅
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈