@loaders.gl/3d-tiles 4.2.0-alpha.5 → 4.2.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -48,7 +48,7 @@ var import_loader_utils8 = require("@loaders.gl/loader-utils");
48
48
  var import_tiles2 = require("@loaders.gl/tiles");
49
49
 
50
50
  // dist/lib/utils/version.js
51
- var VERSION = true ? "4.2.0-alpha.4" : "latest";
51
+ var VERSION = true ? "4.2.0-alpha.5" : "latest";
52
52
 
53
53
  // dist/lib/constants.js
54
54
  var TILE3D_TYPE = {
@@ -91,9 +91,11 @@ var import_core3 = require("@math.gl/core");
91
91
  // dist/lib/classes/tile-3d-feature-table.js
92
92
  var import_math = require("@loaders.gl/math");
93
93
  var Tile3DFeatureTable = class {
94
+ json;
95
+ buffer;
96
+ featuresLength = 0;
97
+ _cachedTypedArrays = {};
94
98
  constructor(featureTableJson, featureTableBinary) {
95
- this.featuresLength = 0;
96
- this._cachedTypedArrays = {};
97
99
  this.json = featureTableJson;
98
100
  this.buffer = featureTableBinary;
99
101
  }
@@ -471,6 +473,15 @@ var IGNORED_PROPERTY_FIELDS = {
471
473
  extras: true
472
474
  };
473
475
  var Tile3DBatchTableParser = class {
476
+ json;
477
+ binary;
478
+ featureCount;
479
+ _extensions;
480
+ // Copy all top-level property fields from the json object, ignoring special fields
481
+ _properties;
482
+ _binaryProperties;
483
+ // TODO: hierarchy support is only partially implemented and not tested
484
+ _hierarchy;
474
485
  constructor(json, binary, featureCount, options = {}) {
475
486
  var _a;
476
487
  (0, import_loader_utils3.assert)(featureCount >= 0);
@@ -1947,7 +1958,7 @@ function calculateBoundingVolumeForChildTile(level, rootBoundingVolume, childCoo
1947
1958
  if (rootBoundingVolume.box) {
1948
1959
  return rootBoundingVolume;
1949
1960
  }
1950
- throw new Error(`Unsupported bounding volume type ${rootBoundingVolume}`);
1961
+ throw new Error(`Unsupported bounding volume type ${JSON.stringify(rootBoundingVolume)}`);
1951
1962
  }
1952
1963
  function concatBits(higher, lower, shift) {
1953
1964
  return (higher << shift) + lower;
@@ -2297,6 +2308,8 @@ var COMPRESSION_METHODS = {
2297
2308
  8: (data) => new import_compression.DeflateCompression({ raw: true }).decompress(data)
2298
2309
  };
2299
2310
  var Tiles3DArchive = class extends import_zip.IndexedArchive {
2311
+ /** hash info */
2312
+ hashTable;
2300
2313
  /**
2301
2314
  * creates Tiles3DArchive handler
2302
2315
  * @param fileProvider - FileProvider with the whole file
@@ -2373,7 +2386,7 @@ var parse3DTilesArchive = async (fileProvider, cb) => {
2373
2386
  };
2374
2387
 
2375
2388
  // dist/3d-tiles-archive-loader.js
2376
- var VERSION2 = true ? "4.2.0-alpha.4" : "latest";
2389
+ var VERSION2 = true ? "4.2.0-alpha.5" : "latest";
2377
2390
  var Tiles3DArchiveFileLoader = {
2378
2391
  name: "3tz",
2379
2392
  id: "3tz",