瀏覽代碼

Thicker, bendier edges.

master
Pete Shadbolt 7 年之前
父節點
當前提交
472eac2c6a
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. +3
    -3
      abp/static/scripts/materials.js

+ 3
- 3
abp/static/scripts/materials.js 查看文件

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

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

// Is called on boot
@@ -12,7 +12,7 @@ materials.prepare = function() {
materials.edge = new THREE.LineBasicMaterial({
color: "gray",
transparent: false,
linewidth: 3
linewidth: 5
});
materials.edge.depthTest = false;
materials.qubit = new THREE.PointsMaterial({


Loading…
取消
儲存