Rewrote the osg::Drawable::AttributeFunctor and PrimtiveFunctor to make
them more consistent with each other. This does mean an API change, so dependanct code in the OSG has been updated accordingly.
This commit is contained in:
@@ -449,7 +449,7 @@ bool IntersectVisitor::intersect(Drawable& drawable)
|
||||
|
||||
TriangleFunctor<TriangleIntersect> ti;
|
||||
ti.set(*sitr->second);
|
||||
drawable.applyPrimitiveOperation(ti);
|
||||
drawable.accept(ti);
|
||||
if (ti._hit)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user