I have two quads. The second one is just below the first one.
I have binded a texture on them.
I would like the second quad (or texture) upside-down and reversed. I have succeeded in getting it upside-down, but not reversed.
// First quad
gl.glTexCoord2f(0.0f, 0.0f); gl.glVertex3f(topLeft, 1.0f, 0.0f);
gl.glTexCoord2f(1.0f, 0.0f); gl.glVertex3f(topRight, 1.0f, 0);
gl.glTexCoord2f(1.0f, 1.0f); gl.glVertex3f(bottomRight, -1.0f, 0);
gl.glTexCoord2f(0.0f, 1.0f); gl.glVertex3f(bottomLeft, -1.0f, 0.0f);
// gl.glRotated(180, 180, 0, 0); // doesn´t work
// Second quad
gl.glTexCoord2f(1.0f, 1.0f); gl.glVertex3f(topLeft, -1.0f, 0.0f);
gl.glTexCoord2f(0.0f, 1.0f); gl.glVertex3f(topRight, -1.0f, 0);
gl.glTexCoord2f(0.0f, 0.0f); gl.glVertex3f(bottomRight, -3.0f, 0);
gl.glTexCoord2f(1.0f, 0.0f); gl.glVertex3f(bottomLeft, -3.0f, 0.0f);
Now the texture on the second quad is drawn upside-down, but how do I reverse the texture?