Most Opengl functions take floats as there arguments. I have been programming and what I have noticed is some people pass arguments with the f ex:I just use 0.0,0.0,1.0Code:glColor3f(0.0f,0.0f,1.0f);
I know these are doubles but is it bad not to implicity tell them the argument is a float?
--AND--
I found this on NeHe and was wondering. Isn't this bad practice, the second argument that is? Shouldn't it be sizeof(unsigned int) and not 4?Code:fread(&image->sizeY, 4, 1, file))