BoundingBox::CreateMerged function (directxcollision.h)

Creates a BoundingBox large enough to contains two specified BoundBox instances.

Syntax

void CreateMerged(
  [out, ref] BoundingBox &       Out,
  [in, ref]  const BoundingBox & b1,
  [in, ref]  const BoundingBox & b2
) noexcept;

Parameters

[out, ref] Out

The merged BoundingBox.

[in, ref] b1

A BoundingBox that should be contained in the new BoundingBox.

[in, ref] b2

A vector describing the plane.

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

BoundingBox

Methods

Reference