Skip to content

Commit af2dcbc

Browse files
authored
Merge pull request #170 from smrghsh/move-objects-in-manualtest
fix: move objects in front in manual test
2 parents 4386351 + 1653022 commit af2dcbc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/manual-test-examples/p5vr/basic/example.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function calculate() {
1919

2020
function draw() {
2121
fill(0, 255, 0);
22-
translate(0, 0, 10);
22+
translate(0, 0, -10);
2323
rotateX(10);
2424
rotateY(20);
2525
strokeWeight(5);

tests/manual-test-examples/p5vr/two-d/example.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function draw() {
3131
pg.ellipse(pg.width/2, pg.height/2, 100);
3232
pg.fill(255);
3333
pg.ellipse(pos.x, pos.y, 20);
34-
translate(0, 0, 10);
34+
translate(0, 0, -10);
3535
noStroke();
3636
texture(pg);
3737
rotateY(frameCount * 0.02);

0 commit comments

Comments
 (0)