|
|
"Bald Eagle" <cre### [at] netscapenet> wrote:
>
> > I need the CONDITION.
>
> Do you just want to do an insidedness test?
> #if (inside (prism, point)) ....
>
> If you want to have each sphere be fully inside the prism, construct a smaller
> test prism where the edges are closer to the origin by the radius of the
> spheres. Test against that, and then render the spheres in the actual prism.
For using the "inside" function, I should test all the points on the sphere. And
then, it will check the entire prism, not the visible part.
Post a reply to this message
|
|