Commit eb5c416c authored by pitiot's avatar pitiot

corridor sans multirés

parent 62820091
......@@ -270,7 +270,7 @@ inline void EnvMap::addObstAsNeighbor (Obstacle * o, const std::list<Dart>& bel
Dart first =NIL;
Dart d=NIL;
Dart dd=NIL;
// CGoGNout << "debut"<<CGoGNendl;
// CGoGNout << "debut : Dart "<<(*it).index<<CGoGNendl;
//boucle pour trouver une face du voisinage de l'obstacle ne contenant pas l'obstacle
do
{
......@@ -292,7 +292,7 @@ inline void EnvMap::addObstAsNeighbor (Obstacle * o, const std::list<Dart>& bel
} while(first==NIL && d!=beg);
++it;
}while(first==NIL && it!=belonging_cells.end());
// CGoGNout << "first trouvée"<<first.index<<CGoGNendl;
d=first;
do
{
......
......@@ -73,7 +73,7 @@ void Simulator::init(unsigned int config, int minSize, float dimension, bool ena
// tc3 = new ThreadUpdateInfo(agents_, nbAgents / 2, nbAgents * 3 / 4);
// tc4 = new ThreadUpdateInfo(agents_, nbAgents * 3 / 4, nbAgents);
#ifndef SPATIAL_HASHING
envMap_.subdivideToProperLevel();
// envMap_.subdivideToProperLevel();
#endif
}
......@@ -188,7 +188,7 @@ void Simulator::doStep()
}
envMap_.updateMap();
// envMap_.updateMap();
// CGoGNout<<"fin update map temps : "<<nbSteps_<<CGoGNendl;
#endif
......
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