Commit 14e20e60 authored by pitiot's avatar pitiot
Browse files


parent cf21d247
......@@ -775,7 +775,7 @@ void Simulator::setupPlanetScenario(unsigned int nbAgents, unsigned int nbObstac
float ecart = 3.0f;
float ecart = 5.0f;
VEC3 displ2(- (float(nbx)/2.0f * ecart), - (float(nby)/2.0f * ecart), 0);
Geom::Plane3D<PFP::REAL> pl(Algo::Surface::Geometry::faceNormal<PFP>(, dCell, envMap_.position), 0.0f);
Agent::rotate(Agent::xyPlane, pl.normal(), displ2);
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