46 |
} |
} |
47 |
|
|
48 |
// Emulate... ;) |
// Emulate... ;) |
49 |
static Vob crosshair; |
static Vob vertline; |
50 |
|
|
51 |
public int addToListGL(gzz.client.GraphicsAPI.RenderingSurface win, |
public int putGL(VobScene vs, int coordsys1) { |
|
int[] list, int curs, int coordsys1, |
|
|
int coordsys2) { |
|
52 |
|
|
53 |
if (crosshair == null) { |
if (vertline == null) { |
54 |
crosshair = GLRen.createCallListBoxCoorded( |
vertline = GLRen.createCallListBoxCoorded( |
55 |
"Begin LINE_STRIP\nVertex 0 1\nVertex 0 -1\nEnd\n"); |
"Begin LINE_STRIP\nVertex 0 1\nVertex 0 -1\nEnd\n"); |
56 |
} |
} |
57 |
curs = crosshair.addToListGL(win, list, curs, coordsys1, coordsys2); |
vs.map.put(vertline, coordsys1); |
58 |
return curs; |
return 0; |
59 |
} |
} |
60 |
} |
} |