Commit 774751b6 authored by Sylvain Thery's avatar Sylvain Thery
Browse files

but in creation of traversor2

parent bcbfbd82
......@@ -181,6 +181,9 @@ void MyQT::traverse2()
Algo::Render::drawerCell<PFP>(VERTEX+m_second2, m_drawer,myMap,m_selected,position,0.7f);
std::cout << "X="<<VERTEX+m_second2 << " / Y="<<VERTEX+m_first2 << std::endl;
Traversor2<PFP::MAP>* tra = Traversor2<PFP::MAP>::createIncident(myMap,m_selected,VERTEX+m_second2,VERTEX+m_first2);
for (Dart d=tra->begin(); d != tra->end(); d= tra->next())
......@@ -472,6 +472,7 @@ Traversor2<MAP>* Traversor2<MAP>::createIncident(MAP& map, Dart dart, unsigned i
return new Traversor2EV<MAP>(map,dart);
case 0x0102:
return new Traversor2EF<MAP>(map,dart);
case 0x0200:
return new Traversor2FV<MAP>(map,dart);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment