Pārlūkot izejas kodu

Hacky fix.

master
Pete Shadbolt pirms 8 gadiem
vecāks
revīzija
9ab5509e73
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -0
      abp/static/scripts/main.js
  2. +0
    -2
      abp/static/scripts/materials.js

+ 2
- 0
abp/static/scripts/main.js Parādīt failu

@@ -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 Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt