processing/processing

Shape with only two vertices won't draw (P2D and P3D, works with JAVA2D)

Fechada

#5.270 aberto em 23 de set. de 2017

 (0 comentário) (0 reação) (0 responsável)Java (1.540 forks)batch import
help wantedlowopengl

Métricas do repositório

Stars
 (6.431 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

Description

A shape with only two vertices in immediate mode won't render; it appears when adding a third vertex. This issue presents itself only with the hardware renderers.

Steps to Reproduce

void setup(){
  size(200, 200, P2D);
  noFill();
  stroke(0);
  beginShape();
  vertex(10, 10);
  vertex(100, 100);
  endShape();
}

Your Environment

Processing version: 3.3.6 Operating System and OS version: macOS 10.12.6

Guia do colaborador