|
@@ -10,7 +10,7 @@ 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; |
|
|
materials.edge = new THREE.LineBasicMaterial({ |
|
|
materials.edge = new THREE.LineBasicMaterial({ |
|
|
color: "red", |
|
|
|
|
|
|
|
|
color: "gray", |
|
|
transparent: false, |
|
|
transparent: false, |
|
|
linewidth: 3 |
|
|
linewidth: 3 |
|
|
}); |
|
|
}); |
|
|