Skip to content

Commit

Permalink
updated AR examples
Browse files Browse the repository at this point in the history
  • Loading branch information
codeanticode committed Feb 15, 2019
1 parent ffd25c3 commit d562550
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions mode/libraries/ar/examples/Cube/Cube.pde
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import processing.ar.*;
PShape cube;

void setup() {
fullScreen(ARCORE);
fullScreen(AUGMENT);
cube = createShape(BOX, 0.25);
ARPlane.setPlaneColor(#BCD4FF);
PAR.planeColor(#BCD4FF);
}

void draw() {
Expand Down
6 changes: 3 additions & 3 deletions mode/libraries/ar/examples/ImportObj/ImportObj.pde
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import processing.ar.*;
PShape arObj;

void setup() {
fullScreen(ARCORE);
fullScreen(AUGMENT);

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

arObj = loadShape("model.obj");
}
Expand All @@ -18,4 +18,4 @@ void draw() {
// Placing the AR object on encountering touch events
shape(arObj);
}
}
}
4 changes: 2 additions & 2 deletions mode/libraries/ar/examples/Spheres/Spheres.pde
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import processing.ar.*;
float angle = 0;

void setup() {
fullScreen(ARCORE);
ARPlane.setPlaneColor(0xB4E7FF);
fullScreen(AUGMENT);
PAR.planeColor(0xB4E7FF);
}

void draw() {
Expand Down

0 comments on commit d562550

Please sign in to comment.