Skip to content

Missing characters when changing orientation of app #214

Open
@codeanticode

Description

@codeanticode

Sometimes (but not always), when changing the orientation of this sketch:

float angle;

void setup() {
  fullScreen(P3D);
  PFont font = createFont("Arial", 100);
  textFont(font);
}

void draw() {
  background(157);
  text("Frame " + frameCount, 40, 100);
  lights();
  translate(mouseX, mouseY);
  rotateX(angle);
  rotateY(angle);
  box(100);
  angle += 0.01f;
}

the text does not show all characters. The problem goes away when changing orientation again

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions