/**
* The terrain isn't located where we want it to, so we take
* care of this here:
*/
SimpleVector pos=terrain.getCenter();
pos.scalarMul(-1f);
terrain.translate(pos);
terrain.rotateX((float)-Math.PI/2f);
terrain.translateMesh();
terrain.rotateMesh();
terrain.setTranslationMatrix(new Matrix());
terrain.setRotationMatrix(new Matrix());