Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 2 insertions, 2 deletions
-rw-r--r--Year 2/Computer Graphics with WebGL/Homework 05 - The cube/Homework.html4
diff --git a/Year 2/Computer Graphics with WebGL/Homework 05 - The cube/Homework.html b/Year 2/Computer Graphics with WebGL/Homework 05 - The cube/Homework.html
index 963a4df..290d49e 100644
--- a/Year 2/Computer Graphics with WebGL/Homework 05 - The cube/Homework.html
+++ b/Year 2/Computer Graphics with WebGL/Homework 05 - The cube/Homework.html
@@ -110,8 +110,8 @@
for (var i = 1; i < 30; i++) {
if (i % 10 === 0) i++;
- c.push(new CubePlate( i, POSSIBLE_COLORS[Math.floor(random(0,5))], CUBE_COLOR));
- c.push(new CubePlate(-i, POSSIBLE_COLORS[Math.floor(random(0,5))], CUBE_COLOR));
+ c.push(new CubePlate( i, POSSIBLE_COLORS[Math.floor(random(0,5.9))], CUBE_COLOR));
+ c.push(new CubePlate(-i, POSSIBLE_COLORS[Math.floor(random(0,5.9))], CUBE_COLOR));
}
}