|
@@ -22,10 +22,8 @@ materials.prepare = function() { |
|
|
transparent: true, |
|
|
transparent: true, |
|
|
vertexColors: THREE.VertexColors |
|
|
vertexColors: THREE.VertexColors |
|
|
}); |
|
|
}); |
|
|
materials.edge.depthTest = false; |
|
|
|
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
console.log("what"); |
|
|
|
|
|
|
|
|
|
|
|
materials.makeCurve = function(a, b) { |
|
|
materials.makeCurve = function(a, b) { |
|
|
var length = new THREE.Vector3().subVectors(a, b).length(); |
|
|
var length = new THREE.Vector3().subVectors(a, b).length(); |
|
|