mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
show warning when calling modelX/Y/Z in P2D, fixes #4813
This commit is contained in:
@@ -251,6 +251,31 @@ public class PGraphics2D extends PGraphicsOpenGL {
|
||||
}
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////
|
||||
|
||||
// SCREEN TRANSFORMS
|
||||
|
||||
|
||||
@Override
|
||||
public float modelX(float x, float y, float z) {
|
||||
showDepthWarning("modelX");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public float modelY(float x, float y, float z) {
|
||||
showDepthWarning("modelY");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public float modelZ(float x, float y, float z) {
|
||||
showDepthWarning("modelZ");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
Reference in New Issue
Block a user