Garrett Johnson 4 роки тому
батько
коміт
0a9b538e9d
2 змінених файлів з 2 додано та 2 видалено
  1. 1 1
      example/ionExample.js
  2. 1 1
      package.json

+ 1 - 1
example/ionExample.js

@@ -188,7 +188,7 @@ function reinstantiateTiles() {
 
 					const box = new Box3();
 					const matrix = new Matrix4();
-					tiles.getBoundsTransform( box, matrix );
+					tiles.getOrientedBounds( box, matrix );
 					const position = new Vector3().setFromMatrixPosition( matrix );
 					const distanceToEllipsoidCenter = position.length();
 

+ 1 - 1
package.json

@@ -22,7 +22,7 @@
   ],
   "scripts": {
     "start": "concurrently \"parcel watch example/*.html --out-dir ./example/dev-bundle/ --public-url . --no-cache\" \"static-server\"",
-    "build": "parcel build example/*.html --out-dir ./example/bundle/ --public-url . --no-cache",
+    "build": "parcel build --no-content-hash example/*.html --out-dir ./example/bundle/ --public-url . --no-cache",
     "lint": "eslint \"src/**/*.js\" \"test/**/*.js\" && tsc -p tsconfig.json --noEmit",
     "test": "jest"
   },