/[libvob]/libvob/org/nongnu/libvob/impl/gl/GLVobMap.java
ViewVC logotype

Diff of /libvob/org/nongnu/libvob/impl/gl/GLVobMap.java

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

revision 1.1 by tjl, Sat Mar 8 13:26:10 2003 UTC revision 1.2 by tjl, Thu May 29 08:00:20 2003 UTC
# Line 60  public static final String rcsid = "$Id$ Line 60  public static final String rcsid = "$Id$
60          nvobs = 0;          nvobs = 0;
61      }      }
62    
63        public void put(Vob vob, int[] scs) {
64            if(dbg) pa("Add to GLVobMap "+this+":  "+vob+" "+cs+" "+cs.length);
65            int ind = vob.putGL(vs, cs);
66            if(ind == 0) return;
67            // Now, stash it away.
68            cs[nvobs] = scs[0];
69            vobs[nvobs++] = vob;
70            list[curs++] = (GL.RENDERABLEN | ind);
71            list[curs++] = scs.length;
72            for(int i=0; i<scs.length; i++)
73                list[curs++] = scs[i];
74        }
75      public void put(Vob vob, int coordsys1, int coordsys2, int coordsys3) {      public void put(Vob vob, int coordsys1, int coordsys2, int coordsys3) {
76          if(dbg) pa("Add to GLVobMap "+this+":  "+vob+" "+coordsys1+" "          if(dbg) pa("Add to GLVobMap "+this+":  "+vob+" "+coordsys1+" "
77                     +coordsys2+" "+coordsys3+" curs: "+curs);                     +coordsys2+" "+coordsys3+" curs: "+curs);

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