82 |
// GL implementation |
// GL implementation |
83 |
// ================= |
// ================= |
84 |
static float[] tmp_floats = new float[3]; |
static float[] tmp_floats = new float[3]; |
85 |
public int addToListGL(gzz.client.GraphicsAPI.RenderingSurface win, |
public int putGL(VobScene vs, int coordsys1) { |
|
int[] list, int curs, int coordsys1, |
|
|
int coordsys2) { |
|
86 |
if (needInit) loadTex(); |
if (needInit) loadTex(); |
87 |
|
|
88 |
ColorUtil.getRGBColorComponents(color, tmp_floats); |
ColorUtil.getRGBColorComponents(color, tmp_floats); |
90 |
GLRen.ContinuousLine cl = |
GLRen.ContinuousLine cl = |
91 |
GLRen.createContinuousLine(tex.getTexId(), width, points, |
GLRen.createContinuousLine(tex.getTexId(), width, points, |
92 |
tmp_floats); |
tmp_floats); |
93 |
return cl.addToListGL(win, list, curs, coordsys1, coordsys2); |
vs.map.put(cl, coordsys1); |
94 |
|
return 0; |
95 |
} |
} |
96 |
} |
} |