mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 17:40:48 +01:00
todos and tweaks
This commit is contained in:
@@ -194,7 +194,7 @@ public class PImage implements PConstants, Cloneable {
|
||||
* just too weird for the other functions
|
||||
*/
|
||||
public void imageMode(int mode) {
|
||||
if ((imageMode == CORNER) || (imageMode == CORNERS)) {
|
||||
if ((mode == CORNER) || (mode == CORNERS)) {
|
||||
imageMode = mode;
|
||||
} else {
|
||||
throw new RuntimeException("imageMode() only works with CORNER or CORNERS");
|
||||
|
||||
Reference in New Issue
Block a user