This has got to be a newbie question that I never took the time to figure out. But what is that ''f'' that I see on the end of floats and numbers in several OpenGL graphics functions/tutorials/books. Is it just a shortcut to make it a float or something; I can''t find any information about it in my OpenGL book or any C/C++ programming book for that matter. I notice the functions perform the same thing without the ''f''s but why are they there? Is it necessary to have them?
Here is an example:
glVertex3f(0.0f, -10.0f, 0.0f); // What is the f?
glLightf(GL_LIGHT0, GL_SPOT_CUTOFF, 40.0f); // What is the f?
Any help would be GREATLY appreciated!