Alain <ele### [at] netscape net> wrote:
> Intersection of the sphere and 2 box or 2 planes.
I think that the problem is slightly more complicated than just that.
If you want to cut a slice out of a sphere with 2 planes the operation
is different depending on whether the slice is less or more than 180
degrees. If it's less than 180 degrees then you have to calculate the
difference between the sphere and the intersection of the two planes.
If it's more than 180 degrees then you have to calculate the difference
between the sphere and the union of the two planes.
Doing the same with boxes is actually needlessly more complicated,
so it's basically useless.
--
- Warp
Post a reply to this message
|