/[gzz]/gzz/gzz/gfx/gl/GLVobMap.java
ViewVC logotype

Diff of /gzz/gzz/gfx/gl/GLVobMap.java

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

revision 1.13 by humppake, Wed Oct 2 11:43:44 2002 UTC revision 1.14 by tjl, Sun Oct 20 09:33:17 2002 UTC
# Line 34  public static final String rcsid = "$Id$ Line 34  public static final String rcsid = "$Id$
34      public GLVobMap(gzz.client.gl.GLScreen screen) {      public GLVobMap(gzz.client.gl.GLScreen screen) {
35          this.screen = screen;          this.screen = screen;
36          if(dbg) pa("New GLVobMap for "+screen+": "+this);          if(dbg) pa("New GLVobMap for "+screen+": "+this);
37            clear();
38        }
39    
40        int[] list;
41        int curs;
42        int[] cs;
43        Object[] vobs;
44        int nvobs;
45    
46        public void clear() {
47            list = new int[10000];
48            curs = 0;
49            cs = new int[10000];
50            vobs = new Vob[10000];
51            nvobs = 0;
52      }      }
53    
     int[] list = new int[10000];  
     int curs = 0;  
     int[] cs = new int[10000];  
     Object[] vobs = new Vob[10000];  
     int nvobs = 0;  
54      public void put(Vob3 vob, int coordsys1, int coordsys2, int coordsys3) {      public void put(Vob3 vob, int coordsys1, int coordsys2, int coordsys3) {
55          curs = vob.addToListGL(screen, list, curs, coordsys1,          curs = vob.addToListGL(screen, list, curs, coordsys1,
56                                 coordsys2, coordsys3);                                 coordsys2, coordsys3);
# Line 81  public static final String rcsid = "$Id$ Line 91  public static final String rcsid = "$Id$
91          }          }
92          return null;          return null;
93      }      }
94    
95    
96  }  }
97    

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

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