| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1ace571 commit b7325ee
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -85,19 +85,6 @@ void draw() { | |||
| 85 | 85 | image(starfield, 0, 0, width, height); | |
| 86 | 86 | hint(ENABLE_DEPTH_MASK); | |
| 87 | 87 | ||
| 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 | - | ||
| 101 | 88 | pushMatrix(); | |
| 102 | 89 | translate(width/2, height/2, -300); | |
| 103 | 90 | ||
@@ -119,4 +106,4 @@ void draw() { | |||
| 119 | 106 | ||
| 120 | 107 | translate(0.75 * width, 0.6 * height, 50); | |
| 121 | 108 | shape(planet1); | |
| 122 | - } | ||
| 109 | + } | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments