Explorar el Código

Hacky fix.

master
Pete Shadbolt hace 7 años
padre
commit
9ab5509e73
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. +2
    -0
      abp/static/scripts/main.js
  2. +0
    -2
      abp/static/scripts/materials.js

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

@@ -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 fichero

@@ -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();


Cargando…
Cancelar
Guardar