Microsoft DirectX 8.1 (Visual Basic) |
Computes a bounding sphere from a mesh.
object.ComputeBoundingSphereFromMesh( _ MeshIn As D3DXMesh, _ Center As D3DVECTOR, _ RadiusArray As Single)
If the method fails, an error is raised and Err.Number can be set to D3DERR_INVALIDCALL.
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.