Skip to content

Commit 7aa3916

Browse files
committed
Add lighting, matrix, projection, and message constants from PConstants
1 parent a861b3b commit 7aa3916

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

src/Processing.h

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

12191219
// beginShape() kinds
1220+
// Lighting constants
1221+
static constexpr int AMBIENT = 0;
1222+
static constexpr int DIRECTIONAL = 1;
1223+
static constexpr int SPOT = 3;
1224+
// Matrix type constants
1225+
static constexpr int PROJECTION = 0;
1226+
static constexpr int MODELVIEW = 1;
1227+
// Projection type constants
1228+
static constexpr int CUSTOM = 0;
1229+
static constexpr int ORTHOGRAPHIC = 2;
1230+
static constexpr int PERSPECTIVE = 3;
1231+
// Message constants
1232+
static constexpr int CHATTER = 0;
1233+
static constexpr int COMPLAINT = 1;
1234+
static constexpr int PROBLEM = 2;
1235+
12201236
// Vertex type constants
12211237
static constexpr int VERTEX = 0;
12221238
static constexpr int BEZIER_VERTEX = 1;

0 commit comments

Comments
 (0)