Q3BoundingSphere_Union
You can use the Q3BoundingSphere_Union function to find the union of two bounding spheres.
TQ3BoundingSphere *Q3BoundingSphere_Union (
const TQ3BoundingSphere *s1,
const TQ3BoundingSphere *s2,
TQ3BoundingSphere *result);
s1
- A pointer to a bounding sphere.
s2
- A pointer to a bounding sphere.
result
- On exit, a pointer to the union of the bounding spheres
s1 and s2.
DESCRIPTION
The Q3BoundingSphere_Union function returns, as its function result and in the result parameter, a pointer to the bounding sphere that is the union of the two bounding spheres specified by the parameters s1 and s2. The result parameter can point to the memory occupied by either s1 or s2, thereby performing the union operation in place.