gl.glMatrixMode(GL2.GL_MODELVIEW);
if (gl.isExtensionAvailable("GL_VERSION_1_3")) {
gl.glLoadTransposeMatrixd(viewMatrix, 0);
gl.glMultTransposeMatrixd(modelMatrix, 0);
} else {
double[] v = new double[16];
double[] m = new double[16];
copyTranspose(viewMatrix, v);
copyTranspose(modelMatrix, m);