Overv / Open.GL

The source code and content of Open.GL.
http://open.gl/
1.07k stars 259 forks source link

Texture page has incorrect texture coordinates #33

Closed viking closed 9 years ago

viking commented 9 years ago

In the texture page, it is explained that the bottom left corner has coordinates of (0, 0). However, in the code, the coordinates are (0, 1). The image comes out correctly because the texture is loaded in upside down.

Overv commented 9 years ago

Good point, I've added text to the texture chapter to explain this. I've chosen to continue using these flipped coordinates because they're more intuitive to work with and it's a less radical change. When the tutorials will be redone for OpenGL Next, I'll probably do it the correct way.

viking commented 9 years ago

Thanks!