-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Robert Osfield wrote: > On 6/2/06, Yigang Wang <[EMAIL PROTECTED]> wrote: >> As the title. >> >> Sorry for such simple question. Thanks for your reply. > > > node1->setNodeMask(1); > node2->setNodeMask(2); > node3->setNodeMask(3); > > intersectVisitor.setTraversalMask(0x1) > scene->accept(intersectVistor); // just match node1, and node2
Is this actually correct? Should it not match node1 and 3? (and not two, since 2 is 10 in binary). Jan - -- Jan Ciger GPG public key: http://www.keyserver.net/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org iD8DBQFEgDqEn11XseNj94gRAjTFAKCMdd8l7B9AiyqQefRSG0lJBy196wCfW/Vy Gcu1QfRwJ5y2Ar6vxgfTmcQ= =vBG3 -----END PGP SIGNATURE----- _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
