|
@@ -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; |
|
|