We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84cfd55 commit 5975c3cCopy full SHA for 5975c3c
mode/libraries/vr/examples/Cube/Cube.pde
@@ -1,7 +1,7 @@
1
import processing.vr.*;
2
3
void setup() {
4
- fullScreen(STEREO);
+ fullScreen(VR);
5
}
6
7
void draw() {
mode/libraries/vr/examples/drawAim/drawAim.pde
@@ -1,7 +1,10 @@
+VRCamera cam;
+
+ cam = new VRCamera(this);
8
9
10
void calculate() {
@@ -57,8 +60,9 @@ void draw() {
57
60
popMatrix();
58
61
59
62
// Use eye coordinates at 100 units from the camera position:;
- eye();
63
+ cam.sticky();
64
stroke(255, 200);
65
strokeWeight(50);
- point(0, 0, 100);
66
+ point(0, 0, 100);
67
+ cam.noSticky();
68
0 commit comments