Browse Source

zzy 管线修改

zhiyuan-007 1 month ago
parent
commit
ac7250d8da
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/units/flyLine.js

+ 3 - 3
src/units/flyLine.js

@@ -25,10 +25,10 @@ class flyLine {
         // this.paths = options.paths || [];
         this.startPoint = options.startPoint || [];
         this.jsonPoints = options.jsonPoints || [];
-        this.parColor = options.color || [255, 255, 255];
+        this.parColor = options.color || [0, 255, 255];
         this.parLength = options.length || 0.3;
         this.parSpeed = options.speed || 0.5;
-        this.parSize = options.size || 4;
+        this.parSize = options.size || 8;
         this.isShow = options.isShow || true;
 
         this.commonUniforms = {
@@ -321,7 +321,7 @@ class flyLine {
             speed: this.commonUniforms.speed,
             length: this.commonUniforms.length,
             size: {
-                value: size * 5
+                value: size * 10
             },
             color: {
                 value: new THREE.Color(this.parColor)