Closed
Description
When the view is rotated, the segments of thick lines are not being billboarded correctly.
(also, the joins are not pretty, but that's a different bug)
function setup() {
createCanvas(400, 400, WEBGL);
}
function draw() {
background(0);
rotateX(millis()/1000);
noFill();
stroke(255);
strokeWeight(100);
beginShape();
vertex(-100, -100);
vertex( 100, -100);
vertex( 100, 100);
vertex(-100, 100);
endShape(CLOSE);
}