The example now uses the new API

This commit is contained in:
Philipp Möller 2011-11-18 14:19:38 +00:00
parent 6295c772ee
commit 407c3a1fec
1 changed files with 2 additions and 2 deletions

View File

@ -55,8 +55,8 @@ int main()
if(intersection.first)
{
// gets intersection object
if(boost::get<Point>(&*intersection.first)
std::cout << "intersection object is a point" << std::endl;
if(boost::get<Point>(&*intersection.first))
std::cout << "intersection object is a point" << std::endl;
}
// computes all intersections with segment query (as pairs object - primitive_id)