BoundingOrientedBox::Intersects 函数 (directxcollision.h)

测试 BoundingOrientedBoxBoundingSphere 的交集。

语法

bool Intersects(
  const BoundingSphere & sh
) noexcept;

参数

sh

要测试交集 的 BoundingSphere

返回值

一个布尔值,指示 BoundingOrientedBox 是否与 BoundingSphere 相交。

备注

平台要求

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

要求

   
最低受支持的客户端 Windows 10内部版本 20348
最低受支持的服务器 Windows 10内部版本 20348
标头 directxcollision.h

请参阅

BoundingOrientedBox