/[libvob]/libvob/src/main/Renderer.cxx
ViewVC logotype

Diff of /libvob/src/main/Renderer.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by tjl, Sun Sep 28 13:02:18 2003 UTC revision 1.16 by tjl, Fri Oct 10 13:52:27 2003 UTC
# Line 42  using namespace Vob; Line 42  using namespace Vob;
42    
43  namespace Vob {  namespace Vob {
44    
45        // For glerr.hxx
46        int vobglErrorVariable;
47    
48      namespace Vobs {      namespace Vobs {
49          DBGVAR(dbg_irregularquad, "IrregularQuad");          DBGVAR(dbg_irregularquad, "IrregularQuad");
50          DBGVAR(dbg_vfillets, "VFillets");          DBGVAR(dbg_vfillets, "VFillets");
# Line 90  void Renderer::setStandardCoordinates(Ve Line 93  void Renderer::setStandardCoordinates(Ve
93      int w = (int)wh.x;      int w = (int)wh.x;
94      int h = (int)wh.y;      int h = (int)wh.y;
95      glViewport(0, 0, w, h);      glViewport(0, 0, w, h);
96      GLERR      GLERR;
97      glMatrixMode(GL_PROJECTION);      glMatrixMode(GL_PROJECTION);
98      GLERR      GLERR;
99      glLoadIdentity();      glLoadIdentity();
100      GLERR      GLERR;
101      glOrtho(0, w, h, 0, 10000, -10000);      glOrtho(0, w, h, 0, 10000, -10000);
102      GLERR      GLERR;
103      glMatrixMode(GL_MODELVIEW);      glMatrixMode(GL_MODELVIEW);
104      GLERR      GLERR;
105      glLoadIdentity();      glLoadIdentity();
106      GLERR      GLERR;
107      DBG(dbg_renderer) << "stdcoords done\n";      DBG(dbg_renderer) << "stdcoords done\n";
108    
109  }  }

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26