Commit f0985907 authored by berenger-bramas's avatar berenger-bramas

The loader has been update to centered the box in 0,0,0.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/scalfmm/scalfmm/trunk@287 2616d619-271b-44dc-8df4-d4a8f33a7222
parent 269d82bb
......@@ -46,13 +46,13 @@ public:
FReal tempf(0);
file >> tempi >> tempi >> this->nbParticles >> tempf;
FReal x,y,z;
file >> x >> tempf >> tempf;
file >> tempf >> y >> tempf;
file >> tempf >> tempf >> z;
FReal widthx, widthy, widthz;
file >> widthx >> tempf >> tempf;
file >> tempf >> widthy >> tempf;
file >> tempf >> tempf >> widthz;
this->centerOfBox.setPosition(x,y,z);
this->boxWidth *= 2;
this->centerOfBox.setPosition(0.0,0.0,0.0);
this->boxWidth = widthx;
}
else {
this->boxWidth = 0;
......
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