From 5bcf7fba927ccf00e094283c3eb650c3f0d823f2 Mon Sep 17 00:00:00 2001 From: Pete Shadbolt Date: Tue, 19 Jul 2016 14:45:24 +0100 Subject: [PATCH] Reduce node size Actually happened in previous commit, can't be bothered to amend --- static/scripts/materials.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/scripts/materials.js b/static/scripts/materials.js index 83b7bb6..12fe02a 100644 --- a/static/scripts/materials.js +++ b/static/scripts/materials.js @@ -5,6 +5,7 @@ var curveProperties = { curvature: 20 }; +// Is called on boot materials.prepare = function() { var ballSprite = new THREE.Texture(document.getElementById("ball")); ballSprite.needsUpdate = true;