Added support for vertex ratios into LineSegmentIntersector.

This commit is contained in:
Robert Osfield
2007-01-10 10:40:12 +00:00
parent 4954262eb0
commit c5082cb85c
4 changed files with 30 additions and 44 deletions

View File

@@ -413,8 +413,6 @@ bool View::computeIntersections(float x,float y, osg::NodePath& nodePath, osgUti
{
if (!_camera.valid()) return false;
osg::notify(osg::NOTICE)<<"View::computeIntersections(x,y,node,intersections) not implemented"<<std::endl;
osg::Matrix matrix = osg::computeWorldToLocal(nodePath) * _camera->getViewMatrix() * _camera->getProjectionMatrix();
double zNear = -1.0;