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

but in creation of traversor2

parent bcbfbd82
...@@ -181,6 +181,9 @@ void MyQT::traverse2() ...@@ -181,6 +181,9 @@ void MyQT::traverse2()
{ {
Algo::Render::drawerCell<PFP>(VERTEX+m_second2, m_drawer,myMap,m_selected,position,0.7f); Algo::Render::drawerCell<PFP>(VERTEX+m_second2, m_drawer,myMap,m_selected,position,0.7f);
m_drawer.color3f(1.0f,0.0f,0.0f); m_drawer.color3f(1.0f,0.0f,0.0f);
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); 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()) for (Dart d=tra->begin(); d != tra->end(); d= tra->next())
m_affDarts.push_back(d); m_affDarts.push_back(d);
......
...@@ -472,6 +472,7 @@ Traversor2<MAP>* Traversor2<MAP>::createIncident(MAP& map, Dart dart, unsigned i ...@@ -472,6 +472,7 @@ Traversor2<MAP>* Traversor2<MAP>::createIncident(MAP& map, Dart dart, unsigned i
return new Traversor2EV<MAP>(map,dart); return new Traversor2EV<MAP>(map,dart);
break; break;
case 0x0102: case 0x0102:
return new Traversor2EF<MAP>(map,dart);
break; break;
case 0x0200: case 0x0200:
return new Traversor2FV<MAP>(map,dart); return new Traversor2FV<MAP>(map,dart);
......
Markdown is supported
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