mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Added tests for smooth and noSmooth for preproc.
In response to https://github.com/processing/processing4/issues/149, adding tests to catch issues with smooth and noSmooth in the preprocessor. Issue found by @benfry.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
void setup(){
|
||||
size(300,300, P2D);
|
||||
smooth(4);
|
||||
}
|
||||
|
||||
void draw(){
|
||||
background(0);
|
||||
fill(255,0,0);
|
||||
ellipse(100,100,100,100);
|
||||
fill(0,255,0);
|
||||
ellipse(150,150,100,100);
|
||||
}
|
||||
Reference in New Issue
Block a user