Summary Files Commits Branches @commit @diff @stats
path: root / Year 2 / Computer Graphics with WebGL / Project / Project.html
diff options
context:
space:
mode:
1 files changed, 1 insertions, 1 deletions
-rw-r--r--Year 2/Computer Graphics with WebGL/Project/Project.html2
diff --git a/Year 2/Computer Graphics with WebGL/Project/Project.html b/Year 2/Computer Graphics with WebGL/Project/Project.html
index 5aa4252..02a2818 100644
--- a/Year 2/Computer Graphics with WebGL/Project/Project.html
+++ b/Year 2/Computer Graphics with WebGL/Project/Project.html
@@ -155,8 +155,8 @@ body > div {
updateCamera();
gl.uniform3fv(uEye, pos);
- skybox.draw();
if (!pauseAnimations || t == 0) animations.forEach((a) => a(t));
+ skybox.draw();
stars.forEach((s) => s.draw());
frames++;