Преглед на файлове

Presentation details.

master
Pete Shadbolt преди 7 години
родител
ревизия
87b755f4b3
променени са 3 файла, в които са добавени 6 реда и са изтрити 4 реда
  1. +2
    -2
      abp/static/scripts/editor.js
  2. +2
    -0
      abp/static/scripts/gui.js
  3. +2
    -2
      abp/static/scripts/materials.js

+ 2
- 2
abp/static/scripts/editor.js Целия файл

@@ -58,7 +58,7 @@ editor.onClick = function() {
if (found) {
editor.focus(found);
var node=found;
editor.grid.position.copy(abj.node[node].position);
//editor.grid.position.copy(abj.node[node].position);
gui.controls.target.copy(abj.node[node].position);
node_name.innerHTML = "Node " + node;
node_data.className = "visible";
@@ -98,7 +98,7 @@ editor.prepare = function() {
mouse.onShiftClick = editor.onShiftClick;
mouse.onCtrlClick = editor.onCtrlClick;
document.addEventListener("keydown", editor.onKey, false);
editor.makeGrid();
//editor.makeGrid();
};

editor.onKey = function(evt) {


+ 2
- 0
abp/static/scripts/gui.js Целия файл

@@ -18,6 +18,8 @@ gui.prepare = function() {
gui.controls.rotateSpeed = 0.2;
gui.controls.userPanSpeed = 0.1;
gui.camera.position.set(0, 0, 10);
gui.controls.autoRotate = true;
gui.controls.autoRotateSpeed = 0.1;
};

// Someone resized the window


+ 2
- 2
abp/static/scripts/materials.js Целия файл

@@ -1,7 +1,7 @@
var materials = {};

var curveProperties = {
splineDensity: 1,
splineDensity: 10,
curvature: 20
};

@@ -16,7 +16,7 @@ materials.prepare = function() {
});
materials.edge.depthTest = false;
materials.qubit = new THREE.PointsMaterial({
size: 0.3,
size: 0.6,
map: ballSprite,
alphaTest: 0.5,
transparent: true,


Loading…
Отказ
Запис