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

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

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

revision 1.45 by tjl, Mon Oct 28 18:37:27 2002 UTC revision 1.46 by humppake, Tue Oct 29 10:27:03 2002 UTC
# Line 225  public static final String rcsid = "$Id$ Line 225  public static final String rcsid = "$Id$
225    
226      public int concat(int parent, int child) {      public int concat(int parent, int child) {
227          int paramInd = nfloats;          int paramInd = nfloats;
228          inds[ninds+0] = 8;          inds[ninds+0] = 8; // concat
229          inds[ninds+1] = parent;          inds[ninds+1] = parent;
230          inds[ninds+2] = child;          inds[ninds+2] = child;
231          inds[ninds+3] = paramInd;          inds[ninds+3] = paramInd;
# Line 235  public static final String rcsid = "$Id$ Line 235  public static final String rcsid = "$Id$
235          return was;          return was;
236      }      }
237    
238        public int cull(int parent, int clip) {
239            int paramInd = nfloats;
240            inds[ninds+0] = 10; // culling
241            inds[ninds+1] = parent;
242            inds[ninds+2] = clip;
243            inds[ninds+3] = paramInd;
244    
245            int was = ninds;
246            ninds += 4;
247            return was;
248        }
249    
250      public void dump() {      public void dump() {
251          pa("GLVobCoorder: ");          pa("GLVobCoorder: ");
252          for(int i=0; i<ninds; i++) {          for(int i=0; i<ninds; i++) {
# Line 308  public static final String rcsid = "$Id$ Line 320  public static final String rcsid = "$Id$
320    
321    
322  }  }
323    
324    

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

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