/[gzz]/gzz/gzz/vob/vobs/LineVob.java
ViewVC logotype

Diff of /gzz/gzz/vob/vobs/LineVob.java

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

revision 1.6 by tjl, Thu Dec 5 10:57:34 2002 UTC revision 1.7 by tjl, Sun Jan 12 11:41:47 2003 UTC
# Line 69  public static final String rcsid = "$Id$ Line 69  public static final String rcsid = "$Id$
69      }      }
70    
71      Vob dlist;      Vob dlist;
72      public int addToListGL(gzz.client.GraphicsAPI.RenderingSurface win,      public int putGL(VobScene vs, int coordsys1) {
                         int[] list, int curs, int coordsys1,  
                                 int coordsys2) {  
73          if(dlist == null)          if(dlist == null)
74              dlist = GLCache.getCallListBoxCoorded(              dlist = GLCache.getCallListBoxCoorded(
75                      "PushAttrib CURRENT_BIT ENABLE_BIT\nColor "+ColorUtil.colorGLString(color)+"\n"+                      "PushAttrib CURRENT_BIT ENABLE_BIT\nColor "+ColorUtil.colorGLString(color)+"\n"+
76                      "Disable TEXTURE_2D\nBegin LINE_STRIP\nVertex "+x0+" "+y0+                      "Disable TEXTURE_2D\nBegin LINE_STRIP\nVertex "+x0+" "+y0+
77                      "\nVertex "+x1+" "+y1+"\nEnd\nPopAttrib\n");                      "\nVertex "+x1+" "+y1+"\nEnd\nPopAttrib\n");
78                    
79          curs = dlist.addToListGL(win, list, curs, coordsys1, coordsys2);          vs.map.put(dlist, coordsys1);
80          return curs;          return 0;
81      }      }
82    
83  }  }

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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