mettli / guichan

Automatically exported from code.google.com/p/guichan
Other
0 stars 0 forks source link

OpenGLGraphics broken #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Somehow the OpenGLGraphics has become broken. Lines aren't drawn the way
they should. To reproduce the problem simply compile the openglwidgets.cpp
example.

To get rid off all offsets in the code a translation should be used instead.

Original issue reported on code.google.com by olof.nae...@gmail.com on 6 Apr 2007 at 10:17

GoogleCodeExporter commented 9 years ago
Using a translation turned out to not be a very good idea as a translation only 
is
valid when drawing lines, http://allegro.cc/forums/thread/494347/494459#target.

A displacement of 0.375 units is used instead when drawing lines.

Original comment by olof.nae...@gmail.com on 6 Apr 2007 at 11:35