DarkBASIC Professional Help File

DX11 FRUSTUM CULL BB

Checks whether any point of the bounding box with the given world space corner coordinates lies within the
view frustum of the specified camera.

Syntax

    Return Boolean = DX11 FRUSTUM CULL BB(camera, x1, y1, z1, x2, y2, z2)

Parameters

    camera

> Dword
> The camera to determine whether the bounding box is seen by.

    x1

> Float
> The minimum X coordinate of the bounding box.

    y1

> Float
> The minimum Y coordinate of the bounding box.

    z1

> Float
> The minimum Z coordinate of the bounding box.

    x2

> Float
> The maximum X coordinate of the bounding box.

    y2

> Float
> The maximum Y coordinate of the bounding box.

    z2

> Float
> The maximum Z coordinate of the bounding box.

Returns

True if any part of the bounding box lies within the view frustum of the camera, or false otherwise.

See also

CAMERA Functions Menu
DX11 Function Categories