Skip to content

Commit d636cc6

Browse files
committed
removed screen centering
1 parent b431c0c commit d636cc6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libraries/vr/examples/Cube/Cube.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ void draw() {
1616

1717
background(157);
1818
lights();
19-
translate(width/2, height/2);
19+
// translate(width/2, height/2);
2020
rotateX(frameCount * 0.01f);
2121
rotateY(frameCount * 0.01f);
2222
box(500);

libraries/vr/examples/Mono/Mono.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ void setup() {
77
void draw() {
88
background(157);
99
lights();
10-
translate(width/2, height/2);
10+
//translate(width/2, height/2);
1111
rotateX(frameCount * 0.01f);
1212
rotateY(frameCount * 0.01f);
1313
box(500);

0 commit comments

Comments
 (0)