When I call the glRotatef
like this:
glRotatef(angle,0.0,1.0,0.0) //rotate about y-axis
I know it is to rotate by angle
degrees about the y axis
.
But, what is being rotated here? Which object exactly?
Probably a silly question, but I'm entirely new to this.
I was able to rotate a line about it's endpoint using the answer here , but I don't really understand how it works internally.