소스 검색

update priority queue

Garrett Johnson 5 년 전
부모
커밋
32cd7bc6aa
5개의 변경된 파일6개의 추가작업 그리고 7개의 파일을 삭제
  1. 2 2
      example/bundle/example.e31bb0bc.js
  2. 1 1
      example/bundle/example.e31bb0bc.js.map
  3. 1 1
      example/bundle/index.js
  4. 1 1
      src/base/TilesRendererBase.js
  5. 1 2
      src/three/TilesRenderer.js

+ 2 - 2
example/bundle/example.e31bb0bc.js

@@ -1148,7 +1148,7 @@ class TilesRendererBase {
     }
   }
 
-  constructor(url, cache = new _LRUCache.LRUCache(), downloadQueue = new _PriorityQueue.PriorityQueue(6), parseQueue = new _PriorityQueue.PriorityQueue(2)) {
+  constructor(url, cache = new _LRUCache.LRUCache(), downloadQueue = new _PriorityQueue.PriorityQueue(6), parseQueue = new _PriorityQueue.PriorityQueue(1)) {
     // state
     this.tileSets = {};
     this.rootSet = url;
@@ -42966,7 +42966,7 @@ var parent = module.bundle.parent;
 if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
   var hostname = "" || location.hostname;
   var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
-  var ws = new WebSocket(protocol + '://' + hostname + ':' + "54033" + '/');
+  var ws = new WebSocket(protocol + '://' + hostname + ':' + "57728" + '/');
 
   ws.onmessage = function (event) {
     checkedAssets = {};

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


+ 1 - 1
example/bundle/index.js

@@ -212,7 +212,7 @@ var parent = module.bundle.parent;
 if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
   var hostname = "" || location.hostname;
   var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
-  var ws = new WebSocket(protocol + '://' + hostname + ':' + "54033" + '/');
+  var ws = new WebSocket(protocol + '://' + hostname + ':' + "57728" + '/');
 
   ws.onmessage = function (event) {
     checkedAssets = {};

+ 1 - 1
src/base/TilesRendererBase.js

@@ -28,7 +28,7 @@ export class TilesRendererBase {
 
 	}
 
-	constructor( url, cache = new LRUCache(), downloadQueue = new PriorityQueue( 6 ), parseQueue = new PriorityQueue( 2 ) ) {
+	constructor( url, cache = new LRUCache(), downloadQueue = new PriorityQueue( 6 ), parseQueue = new PriorityQueue( 1 ) ) {
 
 		// state
 		this.tileSets = {};

+ 1 - 2
src/three/TilesRenderer.js

@@ -11,8 +11,7 @@ import {
 	Math as MathUtils,
 	Box3Helper,
 	Quaternion,
-	Frustum,
-	Ray
+	Frustum
 } from 'three';
 import { raycastTraverse, raycastTraverseFirstHit } from './raycastTraverse.js';