mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 09:39:19 +01:00
remove need for cameraMode(PERSPECTIVE) on each frame
This commit is contained in:
@@ -4974,14 +4974,13 @@ public class PGraphics extends PImage implements PMethods, PConstants {
|
||||
// DEPTH
|
||||
|
||||
|
||||
/** semi-placeholder */
|
||||
public void depth() {
|
||||
depth = true;
|
||||
//dimensions = 3;
|
||||
cameraMode(PERSPECTIVE);
|
||||
}
|
||||
|
||||
/** semi-placeholder */
|
||||
|
||||
public void noDepth() {
|
||||
depth = false;
|
||||
//dimensions = 0;
|
||||
|
||||
Reference in New Issue
Block a user