BoundingSphere::CreateMerged 函数 (directxcollision.h)
创建包含两个指定 BoundingSphere 对象的 BoundingSphere。
语法
void CreateMerged(
[out, ref] BoundingSphere & Out,
[in, ref] const BoundingSphere & S1,
[in, ref] const BoundingSphere & S2
) noexcept;
参数
[out, ref] Out
一个新的 BoundingSphere,其中包含两个指定的 BoundingSphere 对象。
[in, ref] S1
新的 BoundingSphere 应包含的 BoundingSphere。
[in, ref] S2
新的 BoundingSphere 应包含的 BoundingSphere。
返回值
无
备注
平台要求
带有 Windows SDK for Windows 8 的 Microsoft Visual Studio 2010 或 Microsoft Visual Studio 2012。 支持 Win32 桌面应用、Windows 应用商店应用和 Windows Phone 8 应用。要求
目标平台 | Windows |
标头 | directxcollision.h |
请参阅
引用