Pete Shadbolt 7 лет назад
Родитель
Сommit
9ab5509e73
2 измененных файлов: 2 добавлений и 2 удалений
  1. +2
    -0
      abp/static/scripts/main.js
  2. +0
    -2
      abp/static/scripts/materials.js

+ 2
- 0
abp/static/scripts/main.js Просмотреть файл

@@ -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 Просмотреть файл

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


Загрузка…
Отмена
Сохранить