Yes, I've done that, and all the objects seem to have valid bounds.
If I comment out that code, it works perfectly fine (but very slow)
so I know for sure it is coming from that snippet of code instead of
anywhere else.
The bounds should be correct because it works with the 2nd code I
provided which uses just the center and the radius. Why does one work
and one not work if they have the same inputs.
Any other ideas?
On Sep 21, 2005, at 10:12 AM, Joseph J. Strout wrote:
At 9:52 AM -0700 9/21/05, Lo Saeteurn wrote:
I wish I could pull out a simple project, but that would be too
much work as this only happens when you have a whole scene.
But can't you drop into the debugger when that happens, and write
down the center and radius of the sphere being tested, along with
the start and end points of the line segment? Then you can make
that into a simple test of LinSegmentIntersection.
Otherwise, it's going to be hard to eliminate the possibility that
it's just a logic bug in your big project.
Best,
- Joe
--
Joe Strout REAL Software, Inc.
Vote for REALbasic (twice!) in the LinuxWorld Reader's Choice Awards:
http://linux.sys-con.com/general/readerschoice.htm
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|