Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit99aebf351d639a615fa989855a1993013f09c40e (patch)
Author
 Syndamia <kamen@syndamia.com>
2022-11-13 17:32:04 +0200
Committer
 Syndamia <kamen@syndamia.com>
2022-11-13 17:32:04 +0200
Filesa975d6eb8bf0839982d533f4f59bd92c9db6cf0a
uni-projects-99aebf351d639a615fa989855a1993013f09c40e.tar
uni-projects-99aebf351d639a615fa989855a1993013f09c40e.tar.gz
uni-projects-99aebf351d639a615fa989855a1993013f09c40e.zip
Parent7f6aa091a91f57837ee65e2ea630f1b3dc1c5cd2 (diff)
[WGL/H05] Post-submission fix for lack of yellow plates
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));
}
}