Ver código fonte

Hacky fix.

master
Pete Shadbolt 7 anos atrás
pai
commit
9ab5509e73
2 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -0
      abp/static/scripts/main.js
  2. +0
    -2
      abp/static/scripts/materials.js

+ 2
- 0
abp/static/scripts/main.js Ver arquivo

@@ -4,5 +4,7 @@ window.onload = function() {
gui.prepare();
mouse.prepare();
editor.prepare();
gui.scene.children[0].renderOrder = -1000;
console.log(gui.scene.children[0].renderOrder = -1000);
gui.loop();
};

+ 0
- 2
abp/static/scripts/materials.js Ver arquivo

@@ -22,10 +22,8 @@ materials.prepare = function() {
transparent: true,
vertexColors: THREE.VertexColors
});
materials.edge.depthTest = false;
};

console.log("what");

materials.makeCurve = function(a, b) {
var length = new THREE.Vector3().subVectors(a, b).length();


Carregando…
Cancelar
Salvar