Changeset 3278

Show
Ignore:
Timestamp:
08/16/04 09:29:07 (10 years ago)
Author:
robert
Message:

From Michael Gronager, fix to an orientation bug.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgSim/VisibilityGroup.cpp

    r2688 r3278  
    7272            { 
    7373                //                notify(INFO) << "Hit obstruction"<< std::endl; 
    74                 osg::Vec3 normal = hitList.front().getLocalIntersectNormal(); 
     74                osg::Vec3 normal = hitList.front().getWorldIntersectNormal(); 
    7575                if((normal*seg) > 0.f ) // we are inside 
    7676                    Group::traverse(nv);