@@ -124,6 +124,7 @@ editor.setOrientation = function(orientation) { | |||||
editor.makeGrid = function() { | editor.makeGrid = function() { | ||||
editor.grid = new THREE.GridHelper(10, 1); | editor.grid = new THREE.GridHelper(10, 1); | ||||
editor.grid.setColors(0xbbbbbb, 0xeeeeee); | editor.grid.setColors(0xbbbbbb, 0xeeeeee); | ||||
editor.grid.renderOrder = 1000; | |||||
editor.setOrientation(0); | editor.setOrientation(0); | ||||
gui.scene.add(editor.grid); | gui.scene.add(editor.grid); | ||||
}; | }; | ||||
@@ -1,7 +1,7 @@ | |||||
var materials = {}; | var materials = {}; | ||||
var curveProperties = { | var curveProperties = { | ||||
splineDensity: 10, | |||||
splineDensity: 1, | |||||
curvature: 20 | curvature: 20 | ||||
}; | }; | ||||
@@ -12,7 +12,7 @@ materials.prepare = function() { | |||||
materials.edge = new THREE.LineBasicMaterial({ | materials.edge = new THREE.LineBasicMaterial({ | ||||
color: "gray", | color: "gray", | ||||
transparent: false, | transparent: false, | ||||
linewidth: 2 | |||||
linewidth: 3 | |||||
}); | }); | ||||
materials.qubit = new THREE.PointsMaterial({ | materials.qubit = new THREE.PointsMaterial({ | ||||
size: 0.3, | size: 0.3, | ||||