File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
mode/libraries/ar/examples Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ import processing.ar.*;
3
3
PShape cube;
4
4
5
5
void setup () {
6
- fullScreen(ARCORE );
6
+ fullScreen(AUGMENT );
7
7
cube = createShape(BOX , 0.25 );
8
- ARPlane . setPlaneColor (#BCD4FF );
8
+ PAR . planeColor (#BCD4FF );
9
9
}
10
10
11
11
void draw () {
Original file line number Diff line number Diff line change @@ -3,10 +3,10 @@ import processing.ar.*;
3
3
PShape arObj;
4
4
5
5
void setup () {
6
- fullScreen(ARCORE );
6
+ fullScreen(AUGMENT );
7
7
8
8
// Setting Color of the detected plane - BLUE in this case
9
- ARPlane . setPlaneColor (#BCD4FF );
9
+ PAR . planeColor (#BCD4FF );
10
10
11
11
arObj = loadShape (" model.obj" );
12
12
}
@@ -18,4 +18,4 @@ void draw() {
18
18
// Placing the AR object on encountering touch events
19
19
shape (arObj);
20
20
}
21
- }
21
+ }
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ import processing.ar.*;
3
3
float angle = 0 ;
4
4
5
5
void setup () {
6
- fullScreen(ARCORE );
7
- ARPlane . setPlaneColor (0xB4E7FF );
6
+ fullScreen(AUGMENT );
7
+ PAR . planeColor (0xB4E7FF );
8
8
}
9
9
10
10
void draw () {
You can’t perform that action at this time.
0 commit comments