51 |
public int addToListGL(gzz.client.GraphicsAPI.Window win, |
public int addToListGL(gzz.client.GraphicsAPI.Window win, |
52 |
int[] list, int curs, int coordsys1, |
int[] list, int curs, int coordsys1, |
53 |
int coordsys2) { |
int coordsys2) { |
54 |
if(crosshair == null) |
|
55 |
crosshair = GLRen.createCallListCoorded( |
if (crosshair == null) { |
56 |
"Begin LINE_STRIP\nVertex 0 1\nVertex 0 -1\nEnd\n"); |
crosshair = GLRen.createLine(0, -1, 0, 1, -1, -1, -1, -1); |
57 |
|
/* |
58 |
|
crosshair = GLRen.createCallListCoorded( |
59 |
|
"Begin LINE_STRIP\nVertex 0 1\nVertex 0 -1\nEnd\n"); |
60 |
|
*/ |
61 |
|
} |
62 |
curs = crosshair.addToListGL(win, list, curs, coordsys1, coordsys2); |
curs = crosshair.addToListGL(win, list, curs, coordsys1, coordsys2); |
63 |
return curs; |
return curs; |
64 |
} |
} |