38 |
public class ContinuousLineVob extends AbstractVob { |
public class ContinuousLineVob extends AbstractVob { |
39 |
public static final String rcsid = "$Id$"; |
public static final String rcsid = "$Id$"; |
40 |
static private void pa(String s) { System.out.println("ContinuousLine::"+s); } |
static private void pa(String s) { System.out.println("ContinuousLine::"+s); } |
41 |
|
public static boolean dbg = false; |
42 |
|
|
43 |
static private GL.Texture tex; |
static private GL.Texture tex; |
44 |
static private boolean needInit = true; |
static private boolean needInit = true; |
115 |
vs.put(GLCache.getCallList("Color "+tmp_floats[0]+" "+tmp_floats[1]+" "+tmp_floats[2])); |
vs.put(GLCache.getCallList("Color "+tmp_floats[0]+" "+tmp_floats[1]+" "+tmp_floats[2])); |
116 |
} |
} |
117 |
|
|
118 |
pa("tex:"+tex+", w:"+width+", jS:"+joinStyle+", chain:"+chain+", points"+points); |
if (dbg) pa("tex:"+tex+", w:"+width+", jS:"+joinStyle+", chain:"+chain+", points"+points); |
119 |
|
|
120 |
GLRen.ContinuousLine cl = |
GLRen.ContinuousLine cl = |
121 |
GLRen.createContinuousLine(tex.getTexId(), width, joinStyle, chain, points); |
GLRen.createContinuousLine(tex.getTexId(), width, joinStyle, chain, points); |
122 |
vs.map.put(cl, coordsys1); |
vs.map.put(cl, coordsys1); |
123 |
pa("draw line.."); |
if (dbg) pa("draw line.."); |
124 |
return 0; |
return 0; |
125 |
} |
} |
126 |
} |
} |