diff --git a/src/rprocessing/applet/BuiltinApplet.java b/src/rprocessing/applet/BuiltinApplet.java index ac3fdef..691bf06 100644 --- a/src/rprocessing/applet/BuiltinApplet.java +++ b/src/rprocessing/applet/BuiltinApplet.java @@ -83,26 +83,6 @@ public void noiseDetail(double lod, double falloff) { super.noiseDetail((int) lod, (float) falloff); } - public void colorMode(double mode) { - this.logWarningsforCast(); - super.colorMode((int) mode); - } - - public void colorMode(double mode, float max) { - this.logWarningsforCast(); - super.colorMode((int) mode, max); - } - - public void colorMode(double mode, float max1, float max2, float max3) { - this.logWarningsforCast(); - super.colorMode((int) mode, max1, max2, max3); - } - - public void colorMode(double mode, float max1, float max2, float max3, float maxA) { - this.logWarningsforCast(); - super.colorMode((int) mode, max1, max2, max3, maxA); - } - public double getPI() { return PI; } diff --git a/src/rprocessing/r/core.R b/src/rprocessing/r/core.R index e872d0c..da7d1a1 100644 --- a/src/rprocessing/r/core.R +++ b/src/rprocessing/r/core.R @@ -285,3 +285,8 @@ CONTROL = RLangPApplet$CONTROL SHIFT = RLangPApplet$SHIFT print = stdout$print + +RGB = RLangPApplet$RGB +ARGB = RLangPApplet$ARGB +HSB = RLangPApplet$HSB +ALPHA = RLangPApplet$ALPHA