add filter(PShader) function

This commit is contained in:
codeanticode
2012-07-20 17:07:29 +00:00
parent 629e7a6dbb
commit 6aab3afd58
14 changed files with 519 additions and 204 deletions
+6
View File
@@ -10165,6 +10165,12 @@ public class PApplet extends Applet
}
public void filter(Object shader) {
if (recorder != null) recorder.filter(shader);
g.filter(shader);
}
public void bezierVertex(float x2, float y2,
float x3, float y3,
float x4, float y4) {
+5
View File
@@ -1536,6 +1536,11 @@ public class PGraphics extends PImage implements PConstants {
}
public void filter(Object shader) {
showMissingWarning("filter");
}
//////////////////////////////////////////////////////////////
// CURVE/BEZIER VERTEX HANDLING