Hi all, 
 
Is it possible to change the value of "maxdist" in the setline fonction of an 
IntersectAction when I do a ray 
intersection?  When I changed it, it doesnt seem to change the distance and I 
still hit objects that are far away.  
Seems that the value stays at "Infinite" the default value...  I want to only 
get the objects that are within a 
distance from the start of my ray. 
 
void IntersectAction::setLine  
(  
const Line &  
  line,  
const Real32  
  maxdist = Inf) 
 
Any advice on this? thanks 
Vince 
 
 
-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&opÿick
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to