Show
Ignore:
Timestamp:
12/12/06 22:48:59 (7 years ago)
Author:
robert
Message:

Improvements to handling of multiple z value regions

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgintersection/osgintersection.cpp

    r5792 r5814  
    135135 
    136136            es.setStartPoint(bs.center()+osg::Vec3d(bs.radius(),0.0,0.0) ); 
    137             es.setEndPoint(bs.center()+osg::Vec3d(bs.radius(),bs.radius(),bs.radius()) ); 
     137            es.setEndPoint(bs.center()+osg::Vec3d(0.0,0.0, bs.radius()) ); 
    138138 
    139139            es.computeIntersections(scene.get());