Hello wonderfull people i was curious to know “how” i would be able to manipulate the position of a vertex that exists already in my opengl context using OpenGL
I’ve had a look around on OpenGL forum and googled around perhaps im missing something simple but this is what i thought i’m guessing i have to do
draw out all my vertexes then store them in a void like
void openglshape(void)
{
glBegin(GL_QUADS);
//Top Right
glTexCoord2f(1,1);
glVertex2f(100.0f,20.0f);
//Top Left
glTexCoord2f(0,1);
glVertex2f(0.0f,20.0f);
//Bottom Left
glTexCoord2f(0,0);
glVertex2f(0.0f,200.0f);
//Bottom Right
glTexCoord2f(1,0);
glVertex2f(100.0f,200.0f);
glEnd();
}
and then like GlTranslate??? not shore this is where i’m stuck.