Função BoundingSphere::CreateFromBoundingBox(BoundingSphere&,constBoundingOrientedBox&) (directxcollision.h)

Cria um BoundingSphere que contém o BoundingBox especificado.

Sintaxe

void CreateFromBoundingBox(
  [out, ref] BoundingSphere &            Out,
  [in, ref]  const BoundingOrientedBox & box
) noexcept;

Parâmetros

[out, ref] Out

O novo BoundingSphere.

[in, ref] box

The BoundingBox the new BoundingSphere should contain.

Retornar valor

Nenhum

Comentários

Requisitos da plataforma

Microsoft Visual Studio 2010 ou Microsoft Visual Studio 2012 com o SDK do Windows para Windows 8. Com suporte para aplicativos da área de trabalho Win32, aplicativos da Windows Store e aplicativos Windows Phone 8.

Requisitos

   
Plataforma de Destino Windows
Cabeçalho directxcollision.h

Confira também

BoundingSphere

Métodos

Referência