创建 BoundingFrustum 的实例。
语法
void BoundingFrustum(
const XMFLOAT3 & origin,
const XMFLOAT4 & orientation,
float rightSlope,
float leftSlope,
float topSlope,
float bottomSlope,
float nearPlane,
float farPlane
) noexcept;
参数
origin
orientation
rightSlope
leftSlope
topSlope
bottomSlope
nearPlane
farPlane
返回值
无
备注
平台要求
Microsoft Visual Studio 2010 或 Microsoft Visual Studio 2012 与 Windows SDK for Windows 8。 支持 Win32 桌面应用、Windows 应用商店应用和 Windows Phone 8 应用。要求
目标平台 | Windows |
标头 | directxcollision.h |
另请参阅
引用