Renamed stroke perspective hint

This commit is contained in:
codeanticode
2012-08-31 13:35:36 +00:00
parent 3494890075
commit 261018afcc
4 changed files with 27 additions and 27 deletions

View File

@@ -36,7 +36,7 @@ public class PGraphics2D extends PGraphicsOpenGL {
public PGraphics2D() {
super();
hints[ENABLE_PERSPECTIVE_CORRECTED_STROKE] = false;
hints[ENABLE_STROKE_PERSPECTIVE] = false;
}
@@ -61,7 +61,7 @@ public class PGraphics2D extends PGraphicsOpenGL {
public void hint(int which) {
if (which == ENABLE_PERSPECTIVE_CORRECTED_STROKE) {
if (which == ENABLE_STROKE_PERSPECTIVE) {
showWarning("2D lines cannot be perspective-corrected.");
return;
}