FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

removed outdated comment from Planets example · processing/processing-docs@b7325ee · GitHub

Repository navigation

Commit b7325ee

Browse files
committed
removed outdated comment from Planets example
1 parent 1ace571 commit b7325ee

1 file changed

Lines changed: 1 addition & 14 deletions

File tree

‎content/examples/Demos/Graphics/Planets/Planets.pde‎

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -85,19 +85,6 @@ void draw() {
8585
image(starfield, 0, 0, width, height);
8686
hint(ENABLE_DEPTH_MASK);
8787

88-
/*
89-
// Displacing the u texture coordinate of layer 1 in planet
90-
// so it creates the effect of moving clouds.
91-
PShape3D p = (PShape3D)planet1;
92-
p.loadTexcoords(1);
93-
for (int i = 0; i < p.getVertexCount(); i++) {
94-
float u = p.texcoords[2 * i + 0];
95-
u += 0.002;
96-
p.texcoords[2 * i + 0] = u;
97-
}
98-
p.updateTexcoords();
99-
*/
100-
10188
pushMatrix();
10289
translate(width/2, height/2, -300);
10390

@@ -119,4 +106,4 @@ void draw() {
119106

120107
translate(0.75 * width, 0.6 * height, 50);
121108
shape(planet1);
122-
}
109+
}

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL