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); |