Show
Ignore:
Timestamp:
12/05/06 13:58:29 (7 years ago)
Author:
robert
Message:

Added more accurate computation of local height above sea level in the plane intersections routines

Files:
1 modified

Legend:

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

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