124125126127128129130131132
camera.translate(0.0f, 0.0f, (float)(310.0 * Math.sin(radians))); camera.rotateY(degrees); camera.getMatrix(matrix); camera.restore(); matrix.preTranslate(-centerX, -centerY); matrix.postTranslate(centerX, centerY); } }