Computes the bounding sphere of all the meshes in the frame hierarchy.
HRESULT D3DXFRAMECalculateBoundingSphere( CONST D3DXFRAME * pFrameRoot, LPD3DXVECTOR3 pObjectCenter, FLOAT * pObjectRadius );
If the function succeeds, the return value is D3D_OK. If the function fails, the return value can be one of the following values: D3DERR_INVALIDCALL, E_OUTOFMEMORY.
Header: Declared in D3dx9anim.h.