How can I use variables in this function?
glVertex3f(-1.0f, 1.0f, 0.0f);
Would it be something like:
Its just the 'f' on the end of the number that's confusing me.Code:float red = -1.0; float blue = 1.0; float green = 0.0; glVertex3f(red, blue, green);