Added initial interface for computing intersections between sphere segments

and terrain.
This commit is contained in:
Robert Osfield
2005-09-08 13:10:04 +00:00
parent 765db1998c
commit 559219f519
4 changed files with 27 additions and 1 deletions

View File

@@ -960,3 +960,10 @@ void SphereSegment::setAllColors(const osg::Vec4& c)
setEdgeLineColor(c);
setSideColor(c);
}
SphereSegment::LineList SphereSegment::computeIntersection(osg::Node* subgraph, const osg::Matrixd& transform)
{
osg::notify(osg::NOTICE)<<"Creating line intersection between sphere segment and subgraph."<<std::endl;
SphereSegment::LineList lines;
return lines;
}