Skip to content

Commit f27335b

Browse files
authored
Merge pull request #163 from julescubtree/master
Update 07_3D_Primitives.js
2 parents a6fbe5d + e5f4fda commit f27335b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/data/examples/en/01_Form/07_3D_Primitives.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ function setup() {
1111

1212
function draw() {
1313
background(100);
14+
1415
noStroke();
15-
16+
fill(50);
1617
push();
17-
translate(-300, 200);
18+
translate(-275, 175);
1819
rotateY(1.25);
1920
rotateX(-0.9);
2021
box(100);
@@ -26,4 +27,4 @@ function draw() {
2627
translate(500, height*0.35, -200);
2728
sphere(300);
2829
pop();
29-
}
30+
}

0 commit comments

Comments
 (0)