!!!!!!! it was so easy, the problem was that I was trying to discover the warm water again, I mean that I wasnt using things already implementes on the engine like the lenght () method.
Now I post the code for turnig left and right using the (0, 0, 0) as pivot center.
public void rotateLeft () {
Camera temp=mundo.getCamera ();
float radio=temp.getPosition ().length ();
temp.setPosition (0, 0, 0);
temp.rotateY (-0.02f);
temp.moveCamera (Camera.CAMERA_MOVEOUT, radio);
}
public void rotateRight () {
Camera temp=mundo.getCamera ();
float radio=temp.getPosition ().length ();
temp.setPosition (0, 0, 0);
temp.rotateY (0.02f);
temp.moveCamera (Camera.CAMERA_MOVEOUT, radio);
}
I hope that someone finds this helpfull.