/[libvob]/libvob/org/nongnu/libvob/vobs/SimpleConnection.java
ViewVC logotype

Diff of /libvob/org/nongnu/libvob/vobs/SimpleConnection.java

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

revision 1.1 by benja, Sun Mar 16 16:01:13 2003 UTC revision 1.2 by humppake, Wed Mar 26 12:39:26 2003 UTC
# Line 79  public static final String rcsid = "$Id$ Line 79  public static final String rcsid = "$Id$
79      Vob line;      Vob line;
80    
81      public int putGL(VobScene vs, int coordsys1, int coordsys2) {      public int putGL(VobScene vs, int coordsys1, int coordsys2) {
82          throw new Error("SimpleConnection doesn't work in GL yet");          /** Current line connector don't support colors or
83          /**              mounting coordinates.
84          if(line == null && color != null)          if(line == null && color != null)
85              line = GLRen.createLineConnector(x0, y0, x1, y1, 1, 1,              line = GLRen.createLineConnector(x0, y0, x1, y1, 1, 1,
86                                               color.getRed()/255f,                                               color.getRed()/255f,
# Line 88  public static final String rcsid = "$Id$ Line 88  public static final String rcsid = "$Id$
88                                               color.getBlue()/255f,                                               color.getBlue()/255f,
89                                               1);                                               1);
90          else line = GLRen.createLineConnector(x0, y0, x1, y1, 1, 1,          else line = GLRen.createLineConnector(x0, y0, x1, y1, 1, 1,
91                                                -1, -1, -1, -1);          -1, -1, -1, -1);*/
92            if(line == null) line = GLRen.createLineConnector();
93          vs.map.put(line, coordsys1, coordsys2);          vs.map.put(line, coordsys1, coordsys2);
94          return 0;          return 0;
         **/  
95      }      }
96  }  }
97    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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