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

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

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

revision 1.3 by benja, Mon Dec 30 13:49:48 2002 UTC revision 1.4 by tjl, Sun Jan 12 11:41:47 2003 UTC
# Line 82  public static final String rcsid = "$Id$ Line 82  public static final String rcsid = "$Id$
82      // GL implementation      // GL implementation
83      // =================      // =================
84      static float[] tmp_floats = new float[3];      static float[] tmp_floats = new float[3];
85      public int addToListGL(gzz.client.GraphicsAPI.RenderingSurface win,      public int putGL(VobScene vs, int coordsys1) {
                         int[] list, int curs, int coordsys1,  
                                 int coordsys2) {  
86          if (needInit) loadTex();          if (needInit) loadTex();
87    
88          ColorUtil.getRGBColorComponents(color, tmp_floats);          ColorUtil.getRGBColorComponents(color, tmp_floats);
# Line 92  public static final String rcsid = "$Id$ Line 90  public static final String rcsid = "$Id$
90          GLRen.ContinuousLine cl =          GLRen.ContinuousLine cl =
91              GLRen.createContinuousLine(tex.getTexId(), width, points,              GLRen.createContinuousLine(tex.getTexId(), width, points,
92                                         tmp_floats);                                         tmp_floats);
93          return  cl.addToListGL(win, list, curs, coordsys1, coordsys2);          vs.map.put(cl, coordsys1);
94            return  0;
95      }      }
96  }  }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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