Question: what is glfloat in opengl?
Answer: h defines GLfloat, it defines it a set size that does not change per system. This helps keeps openGL crossplatform compilant. openGL uses RGB values to define a color. (Red, Green, Blue), also your can add a transparency value to a color also, which is the fourth value.