BoundingFrustum::BoundingFrustum(constXMFLOAT3&,constXMFLOAT4&,float,float,float,float,float,float) function (directxcollision.h)

Creates an instance of BoundingFrustum.

Syntax

void BoundingFrustum(
            const XMFLOAT3 & origin,
            const XMFLOAT4 & orientation,
            float            rightSlope,
            float            leftSlope,
            float            topSlope,
            float            bottomSlope,
            float            nearPlane,
            float            farPlane
) noexcept;

Parameters

origin

orientation

rightSlope

leftSlope

topSlope

bottomSlope

nearPlane

farPlane

Return value

None

Remarks

Platform Requirements

Microsoft Visual Studio 2010 or Microsoft Visual Studio 2012 with the Windows SDK for Windows 8. Supported for Win32 desktop apps, Windows Store apps, and Windows Phone 8 apps.

Requirements

Requirement Value
Target Platform Windows
Header directxcollision.h

See also

BoundingFrustum

Constructors

Reference