Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=5346431
By: brlcad

Alex,

Where'd you get the struct partition from?  Testing for pp != PartHeadp is 
sufficient
on a ray-trace partition hit callback.  If that's not working, you probably
have a mistake somewhere else.

(note you said pp= PartHeadp which is an assignment that will always be true)

"man librt" or "brlman librt" has an example of a hit callback that iterates
over the partitions (although it's old, see raytrace.h for the current callback
signature).

Sean



______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=362511

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to