a few opengl(or general programming) questions
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.0
I know these are doubles but is it bad not to implicity tell them the argument is a float?
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?
fread(&image->sizeY, 4, 1, file))