Tools3D.setLineSmoothEnabled(gl, true);
if (strokeWeight > 0)
gl.glLineWidth(strokeWeight);
if (lineStipple != 0){
gl.glLineStipple(1, lineStipple);
gl.glEnable(GL.GL_LINE_STIPPLE);
}
if (indexBuff == null){
gl.glDrawArrays(GL.GL_LINE_STRIP, 0, vertBuff.capacity()/3);