Skip to content

Commit 5975c3c

Browse files
committed
change renderer name to VR
1 parent 84cfd55 commit 5975c3c

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

mode/libraries/vr/examples/Cube/Cube.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import processing.vr.*;
22

33
void setup() {
4-
fullScreen(STEREO);
4+
fullScreen(VR);
55
}
66

77
void draw() {

mode/libraries/vr/examples/drawAim/drawAim.pde

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
import processing.vr.*;
22

3+
VRCamera cam;
4+
35
void setup() {
4-
fullScreen(STEREO);
6+
fullScreen(VR);
7+
cam = new VRCamera(this);
58
}
69

710
void calculate() {
@@ -57,8 +60,9 @@ void draw() {
5760
popMatrix();
5861

5962
// Use eye coordinates at 100 units from the camera position:;
60-
eye();
63+
cam.sticky();
6164
stroke(255, 200);
6265
strokeWeight(50);
63-
point(0, 0, 100);
66+
point(0, 0, 100);
67+
cam.noSticky();
6468
}

0 commit comments

Comments
 (0)