Skip to content

Commit a861b3b

Browse files
committed
Add VERTEX/BEZIER_VERTEX/QUADRATIC_VERTEX/CURVE_VERTEX/BREAK vertex type constants
1 parent e3abb40 commit a861b3b

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/Processing.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1217,6 +1217,13 @@ static constexpr int MITER = 8;
12171217
static constexpr int BEVEL = 32;
12181218

12191219
// beginShape() kinds
1220+
// Vertex type constants
1221+
static constexpr int VERTEX = 0;
1222+
static constexpr int BEZIER_VERTEX = 1;
1223+
static constexpr int QUADRATIC_VERTEX = 2;
1224+
static constexpr int CURVE_VERTEX = 3;
1225+
static constexpr int BREAK = 4;
1226+
12201227
// Shape primitive type constants (for createShape/PShape)
12211228
static constexpr int GROUP = 0;
12221229
static constexpr int POINT = 2;

0 commit comments

Comments
 (0)