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); |
91 |
} |
} |
92 |
return null; |
return null; |
93 |
} |
} |
94 |
|
|
95 |
|
|
96 |
} |
} |
97 |
|
|