Draw a contiouus line from given points using vertex buffer and setLineWidth

Hey there,

I have two problems both related to mesh drawing:
1: I am trying to draw a line with a width of 3 m. But since the line consists of line segments, at the corners of the line there is a “break” visible ( ) --> Is there an easy way I might be overlooking to prevent this?

2: setting the line width above 1 m does not seem to have any effect, the maximum width seems to be one meter. Is that a known restriction? Is there a workaround?

Sorry: attached Image link should be this:

(Why can’t I edit my original post?)