Skip to content

Commit aed8ba6

Browse files
authored
Add built-in constants (#146)
* core.R: Support renderer keywords Signed-off-by: Ce Gao <[email protected]> * *: Remove trick about P3D Signed-off-by: Ce Gao <[email protected]>
1 parent 3aefc46 commit aed8ba6

File tree

79 files changed

+48
-99
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+48
-99
lines changed

examples/reference/ambient/ambient0/ambient0.rpde

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
P3D <- "processing.opengl.PGraphics3D"
2-
31
settings <- function() {
42
size(100, 100, P3D)
53
}

examples/reference/ambientLight/ambientLight0/ambientLight0.rpde

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
P3D <- "processing.opengl.PGraphics3D"
2-
31
settings <- function() {
42
size(100, 100, P3D)
53
}

examples/reference/ambientLight/ambientLight1/ambientLight1.rpde

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
P3D <- "processing.opengl.PGraphics3D"
21
PI <- pi
32

43
settings <- function() {

examples/reference/applyMatrix/applyMatrix0/applyMatrix0.rpde

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
P3D <- "processing.opengl.PGraphics3D"
21
PI <- pi
32

43
settings <- function() {

examples/reference/beginCamera/beginCamera0/beginCamera0.rpde

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
P3D <- "processing.opengl.PGraphics3D"
21
PI <- pi
32

43
settings <- function() {

examples/reference/box/box1/box1.rpde

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# box 1 https://processing.org/reference/box_.html
22

3-
P3D <- "processing.opengl.PGraphics3D"
4-
53
settings <- function() {
64
size(100, 100, P3D)
75
}

examples/reference/box/box2/box2.rpde

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# box 2 https://processing.org/reference/box_.html
22

3-
P3D <- "processing.opengl.PGraphics3D"
4-
53
settings <- function() {
64
size(100, 100, P3D)
75
}

examples/reference/camera/camera0/camera0.rpde

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
P3D <- "processing.opengl.PGraphics3D"
21
PI <- pi
32

43
settings <- function() {

examples/reference/curveTightness/curveTightness1/curveTightness1.rpde

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# curveTightness 1x -- original fails on map, mouseX
22
# https://processing.org/reference/curveTightness_.html
33

4-
P3D <- "processing.opengl.PGraphics3D"
5-
64
settings <- function() {
75
size(100, 100, P3D)
86
}

examples/reference/directionalLight/directionalLight0/directionalLight0.rpde

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
P3D <- "processing.opengl.PGraphics3D"
2-
31
settings <- function() {
42
size(100, 100, P3D)
53
}

0 commit comments

Comments
 (0)