D3DXComputeBoundingBox
    Computes a coordinate-axis oriented bounding box.
            
		
        
HRESULT D3DXComputeBoundingBox(
  CONST D3DXVECTOR3 * pFirstPosition,
  DWORD NumVertices,
  DWORD dwStride,
  D3DXVECTOR3 * pMin,
  D3DXVECTOR3 * pMax
);
    
Parameters
      - pFirstPosition
- [in]  Pointer to the first position.
- NumVertices
- [in]  Number of vertices.
- dwStride
- [in]  Count or number of bytes between vertices.
- pMin
- [out]  Pointer to a D3DXVECTOR3 structure, describing the returned lower-left corner of the bounding box. See Remarks.
- pMax
- [out]  Pointer to a 
    D3DXVECTOR3 structure, describing the returned upper-right corner of the bounding box. See Remarks.
Return Values
If the function succeeds, the return value is D3D_OK. If the function fails, the return value can be one of the following: D3DERR_INVALIDCALL.
Remarks
Requirements
  Header: Declared in D3dx9mesh.h.