gl.glColor3f(0f, 255f, 255f);
gl.glRotated(20,20,0,20);
gl.glBegin(GL2.GL_TRIANGLES);
gl.glVertex3f(0.0f, 1.0f, 0.0f);
gl.glVertex3f(-1.0f, -1.0f, 0.0f);
gl.glVertex3f(1.0f, -1.0f, 0.0f);
gl.glEnd();
gl.glTranslatef(3.0f, 0.0f, 0.0f);
gl.glColor3f(0f,255f,0f);
gl.glRotated(-20,-20,0,-20);