Skip to content

Commit d562550

Browse files
committed
updated AR examples
1 parent ffd25c3 commit d562550

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

mode/libraries/ar/examples/Cube/Cube.pde

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import processing.ar.*;
33
PShape cube;
44

55
void setup() {
6-
fullScreen(ARCORE);
6+
fullScreen(AUGMENT);
77
cube = createShape(BOX, 0.25);
8-
ARPlane.setPlaneColor(#BCD4FF);
8+
PAR.planeColor(#BCD4FF);
99
}
1010

1111
void draw() {

mode/libraries/ar/examples/ImportObj/ImportObj.pde

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import processing.ar.*;
33
PShape arObj;
44

55
void setup() {
6-
fullScreen(ARCORE);
6+
fullScreen(AUGMENT);
77

88
// Setting Color of the detected plane - BLUE in this case
9-
ARPlane.setPlaneColor(#BCD4FF);
9+
PAR.planeColor(#BCD4FF);
1010

1111
arObj = loadShape("model.obj");
1212
}
@@ -18,4 +18,4 @@ void draw() {
1818
// Placing the AR object on encountering touch events
1919
shape(arObj);
2020
}
21-
}
21+
}

mode/libraries/ar/examples/Spheres/Spheres.pde

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import processing.ar.*;
33
float angle = 0;
44

55
void setup() {
6-
fullScreen(ARCORE);
7-
ARPlane.setPlaneColor(0xB4E7FF);
6+
fullScreen(AUGMENT);
7+
PAR.planeColor(0xB4E7FF);
88
}
99

1010
void draw() {

0 commit comments

Comments
 (0)