Bug 1162 : beginShape/endShape to draw QUADS and QUAD_STRIP behaves incorrectly for P2D (1.0.1)
Last modified: 2009-02-20 14:08




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P2
Severity:
normal

 

Reporter:
zaphos
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2009-02-15 22:45
Using Processing 1.01, this code (below) draws a series of triangles under
P2D. If P2D is not specified, it draws quads as expected.

size(100,100,P2D);
beginShape(QUAD_STRIP);
vertex(30, 20);
vertex(30, 75);
vertex(50, 20);
vertex(50, 75);
vertex(65, 20);
vertex(65, 75);
vertex(85, 20);
vertex(85, 75);
endShape();
Additional Comment #1 From fry 2009-02-20 14:08
Fixed for 1.0.2. Turns out QUADS were also broken, just part of the P2D
revival that I'd forgotten to complete. Thanks for the report.