mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 09:39:19 +01:00
Core files, plus some test files (note that test files may not compile due to recent changes to the core)
This commit is contained in:
22
core/test/BeginShapeTest8.java
Executable file
22
core/test/BeginShapeTest8.java
Executable file
@@ -0,0 +1,22 @@
|
||||
package test;
|
||||
import processing.core.*;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Francis Li
|
||||
*/
|
||||
public class BeginShapeTest8 extends PMIDlet {
|
||||
|
||||
void setup() {
|
||||
beginShape(QUAD_STRIP);
|
||||
vertex(30, 20);
|
||||
vertex(30, 75);
|
||||
vertex(50, 75);
|
||||
vertex(50, 20);
|
||||
vertex(65, 20);
|
||||
vertex(65, 75);
|
||||
vertex(85, 75);
|
||||
vertex(85, 20);
|
||||
endShape();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user