I use openGL and often I'd see code (and thus repeat it) such as
I'm wondering, can a type be inferred by the compiler from the regular use of 1.0 without the f that would warrant assigning a float literal to a type that is expecting a float?Code:GLfloat color[] = {1.0f, 1.0f, 1.0f, 1.0f};