xzw 7 달 전
부모
커밋
1d8c13c157
2개의 변경된 파일7개의 추가작업 그리고 7개의 파일을 삭제
  1. 6 6
      public/lib/potree/potree.js
  2. 1 1
      public/lib/potree/potree.js.map

+ 6 - 6
public/lib/potree/potree.js

@@ -59596,17 +59596,17 @@
 	      var startQuaternion = this.quaternions[this.currentIndex];
 	      quaternion = new Quaternion().copy(startQuaternion);
 	      lerp.quaternion(quaternion, endQuaternion)(progress);
-	      var endPos = this.posCurve.points[this.currentIndex + 1];
-	      var startPos = this.posCurve.points[this.currentIndex];
-	      position = new Vector3().copy(startPos);
-	      lerp.vector(position, endPos)(progress);
+
+	      /* let endPos = this.posCurve.points[this.currentIndex+1]
+	      let startPos = this.posCurve.points[this.currentIndex]       
+	      position = (new THREE.Vector3()).copy(startPos) 
+	      lerp.vector(position, endPos)(progress)    */
 	    } else {
 	      this.currentIndex = this.posCurve.points.length - 1;
 	      quaternion = this.quaternions[this.currentIndex];
 	      position = this.posCurve.points[this.currentIndex];
 	    }
-
-	    //position = this.posCurve.getPointAt(percent); // 需要this.posCurve.points.length>1 否则报错
+	    position = this.posCurve.getPointAt(percent); // 需要this.posCurve.points.length>1 否则报错
 
 	    //console.log(this.currentIndex, originPercent)
 	    //缓动:

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
public/lib/potree/potree.js.map