Browse Source

Reduce node size

Actually happened in previous commit, can't be bothered to amend
master
Pete Shadbolt 8 years ago
parent
commit
5bcf7fba92
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      static/scripts/materials.js

+ 1
- 0
static/scripts/materials.js View File

@@ -5,6 +5,7 @@ var curveProperties = {
curvature: 20 curvature: 20
}; };


// Is called on boot
materials.prepare = function() { materials.prepare = function() {
var ballSprite = new THREE.Texture(document.getElementById("ball")); var ballSprite = new THREE.Texture(document.getElementById("ball"));
ballSprite.needsUpdate = true; ballSprite.needsUpdate = true;


Loading…
Cancel
Save