I was trying to draw some text inside a pushMattrix/popMatrix by using resetMatrix, it works well in 2D but not in P3D, any pointers to what I’m doing wrong?
size(500, 500) # then try size(500, 500, P3D) textSize(40) translate(250, 250) rotate(QUARTER_PI) pushMatrix() resetMatrix() # then use camera() instead! text("Hello", 250, 250) popMatrix() text("Hello", 0, 0)
UPDATE: As per the link sent by @Chrisir, using
camera() instead of