|
|
@@ -3,6 +3,8 @@ var pi2 = Math.PI / 2; |
|
|
|
|
|
|
|
editor.selection = undefined; |
|
|
|
editor.mouseOver = undefined; |
|
|
|
editor.gridTimeOut = 0; |
|
|
|
|
|
|
|
|
|
|
|
editor.orientations = [ |
|
|
|
new THREE.Euler(pi2, 0, 0), |
|
|
@@ -10,6 +12,11 @@ editor.orientations = [ |
|
|
|
new THREE.Euler(pi2, 0, pi2), |
|
|
|
]; |
|
|
|
|
|
|
|
editor.checkTimeOut = function() { |
|
|
|
editor.gridTimeOut += 1; |
|
|
|
console.log(editor.gridTimeOut); |
|
|
|
editor.grid.visible = editor.gridTimeOut < 10; |
|
|
|
} |
|
|
|
|
|
|
|
editor.onFreeMove = function() { |
|
|
|
var found = editor.findNodeOnRay(mouse.ray); |
|
|
@@ -198,3 +205,5 @@ editor.localComplementation = function() { |
|
|
|
abj.local_complementation(editor.selection); |
|
|
|
gui.serverMessage("Inverted neighbourhood of " + editor.selection + "."); |
|
|
|
}; |
|
|
|
|
|
|
|
setInterval(editor.checkTimeOut, 500); |