@loaders.gl/3d-tiles 4.3.0-alpha.8 → 4.3.0-beta.1
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/3d-tiles-archive/3d-tiles-archive-parser.d.ts +1 -1
- package/dist/3d-tiles-archive/3d-tiles-archive-parser.d.ts.map +1 -1
- package/dist/3d-tiles-archive-loader.d.ts.map +1 -1
- package/dist/3d-tiles-archive-loader.js +1 -1
- package/dist/dist.dev.js +12046 -12143
- package/dist/dist.min.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +2 -2
- package/dist/lib/parsers/helpers/parse-3d-implicit-tiles.js +1 -1
- package/dist/lib/utils/obb/s2-corners-to-obb.d.ts.map +1 -1
- package/dist/lib/utils/obb/s2-corners-to-obb.js +1 -2
- package/dist/lib/utils/version.js +1 -1
- package/dist/tile-3d-subtree-loader.d.ts.map +1 -1
- package/dist/tiles-3d-loader.d.ts.map +1 -1
- package/package.json +11 -11
- package/src/lib/parsers/helpers/parse-3d-implicit-tiles.ts +1 -1
- package/src/lib/utils/obb/s2-corners-to-obb.ts +1 -2
|
@@ -63,7 +63,7 @@ function getChildS2VolumeBox(s2VolumeBox, index, subdivisionScheme) {
|
|
|
63
63
|
* @param implicitOptions - options specified at the root of this implicit tile tree - numbers of levels, URL templates.
|
|
64
64
|
* @param loaderOptions - see Tiles3DLoaderOptions.
|
|
65
65
|
*/
|
|
66
|
-
// eslint-disable-next-line max-statements
|
|
66
|
+
// eslint-disable-next-line max-statements, complexity
|
|
67
67
|
export async function parseImplicitTiles(params) {
|
|
68
68
|
const { subtree, subtreeData = {
|
|
69
69
|
level: 0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"s2-corners-to-obb.d.ts","sourceRoot":"","sources":["../../../../src/lib/utils/obb/s2-corners-to-obb.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"s2-corners-to-obb.d.ts","sourceRoot":"","sources":["../../../../src/lib/utils/obb/s2-corners-to-obb.ts"],"names":[],"mappings":"AAYA,MAAM,MAAM,YAAY,GAAG;IACzB,sBAAsB;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,+BAA+B;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB,+BAA+B;IAC/B,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,4BAA4B,CAAC,YAAY,EAAE,YAAY,GAAG,MAAM,EAAE,CA2BjF"}
|
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
// Copyright vis.gl contributors
|
|
4
4
|
import { Vector3 } from '@math.gl/core';
|
|
5
5
|
import { makeOrientedBoundingBoxFromPoints } from '@math.gl/culling';
|
|
6
|
-
import { getS2OrientedBoundingBoxCornerPoints } from "../../utils/s2/index.js";
|
|
7
|
-
import { getS2LngLat } from "../../utils/s2/index.js";
|
|
6
|
+
import { getS2OrientedBoundingBoxCornerPoints, getS2LngLat } from "../../utils/s2/index.js";
|
|
8
7
|
import { Ellipsoid } from '@math.gl/geospatial';
|
|
9
8
|
/**
|
|
10
9
|
* Converts S2VolumeInfo to OrientedBoundingBox
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// Version constant cannot be imported, it needs to correspond to the build version of **this** module.
|
|
2
2
|
// __VERSION__ is injected by babel-plugin-version-inline
|
|
3
3
|
// @ts-ignore TS2304: Cannot find name '__VERSION__'.
|
|
4
|
-
export const VERSION = typeof "4.3.0-alpha.
|
|
4
|
+
export const VERSION = typeof "4.3.0-alpha.8" !== 'undefined' ? "4.3.0-alpha.8" : 'latest';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tile-3d-subtree-loader.d.ts","sourceRoot":"","sources":["../src/tile-3d-subtree-loader.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAC,OAAO,EAAC,mBAAgB;AACrC,OAAO,mBAAmB,uDAAoD;AAG9E;;GAEG;AACH,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"tile-3d-subtree-loader.d.ts","sourceRoot":"","sources":["../src/tile-3d-subtree-loader.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAC,OAAO,EAAC,mBAAgB;AACrC,OAAO,mBAAmB,uDAAoD;AAG9E;;GAEG;AACH,eAAO,MAAM,mBAAmB;uBACD,OAAO;wBACjB,KAAK;;;;;;;;;;CAU0C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tiles-3d-loader.d.ts","sourceRoot":"","sources":["../src/tiles-3d-loader.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAmB,aAAa,EAAE,aAAa,EAAC,MAAM,0BAA0B,CAAC;AAE7F,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,oBAAoB,CAAC;AAO3D,OAAO,EAAqB,kBAAkB,EAAE,+BAA+B,EAAC,mBAAgB;AAEhG,MAAM,MAAM,oBAAoB,GAAG,aAAa,GAE9C,kBAAkB,GAClB,kBAAkB,GAAG;IACnB,UAAU,CAAC,EAAE;QACX,mGAAmG;QACnG,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,qFAAqF;QACrF,wBAAwB,CAAC,EAAE,OAAO,CAAC;QACnC,0CAA0C;QAC1C,SAAS,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;QAC7B,gDAAgD;QAChD,eAAe,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;KAC1C,CAAC;CACH,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"tiles-3d-loader.d.ts","sourceRoot":"","sources":["../src/tiles-3d-loader.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAmB,aAAa,EAAE,aAAa,EAAC,MAAM,0BAA0B,CAAC;AAE7F,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,oBAAoB,CAAC;AAO3D,OAAO,EAAqB,kBAAkB,EAAE,+BAA+B,EAAC,mBAAgB;AAEhG,MAAM,MAAM,oBAAoB,GAAG,aAAa,GAE9C,kBAAkB,GAClB,kBAAkB,GAAG;IACnB,UAAU,CAAC,EAAE;QACX,mGAAmG;QACnG,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,qFAAqF;QACrF,wBAAwB,CAAC,EAAE,OAAO,CAAC;QACnC,0CAA0C;QAC1C,SAAS,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;QAC7B,gDAAgD;QAChD,eAAe,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;KAC1C,CAAC;CACH,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,aAAa;uBACN,GAAG;wBACF,KAAK;;;;;;;;;;;;;;;;;CAqBzB,CAAC;AAEF,+BAA+B;AAC/B,iBAAe,KAAK,CAClB,IAAI,KAAA,EACJ,OAAO,GAAE,oBAAyB,EAClC,OAAO,CAAC,EAAE,aAAa,GACtB,OAAO,CAAC,kBAAkB,GAAG,+BAA+B,CAAC,CAW/D"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loaders.gl/3d-tiles",
|
|
3
|
-
"version": "4.3.0-
|
|
3
|
+
"version": "4.3.0-beta.1",
|
|
4
4
|
"description": "3D Tiles, an open standard for streaming massive heterogeneous 3D geospatial datasets.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -46,15 +46,15 @@
|
|
|
46
46
|
"build-bundle-dev": "ocular-bundle ./bundle.ts --env=dev --output=dist/dist.dev.js"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@loaders.gl/compression": "4.3.0-
|
|
50
|
-
"@loaders.gl/crypto": "4.3.0-
|
|
51
|
-
"@loaders.gl/draco": "4.3.0-
|
|
52
|
-
"@loaders.gl/gltf": "4.3.0-
|
|
53
|
-
"@loaders.gl/images": "4.3.0-
|
|
54
|
-
"@loaders.gl/loader-utils": "4.3.0-
|
|
55
|
-
"@loaders.gl/math": "4.3.0-
|
|
56
|
-
"@loaders.gl/tiles": "4.3.0-
|
|
57
|
-
"@loaders.gl/zip": "4.3.0-
|
|
49
|
+
"@loaders.gl/compression": "4.3.0-beta.1",
|
|
50
|
+
"@loaders.gl/crypto": "4.3.0-beta.1",
|
|
51
|
+
"@loaders.gl/draco": "4.3.0-beta.1",
|
|
52
|
+
"@loaders.gl/gltf": "4.3.0-beta.1",
|
|
53
|
+
"@loaders.gl/images": "4.3.0-beta.1",
|
|
54
|
+
"@loaders.gl/loader-utils": "4.3.0-beta.1",
|
|
55
|
+
"@loaders.gl/math": "4.3.0-beta.1",
|
|
56
|
+
"@loaders.gl/tiles": "4.3.0-beta.1",
|
|
57
|
+
"@loaders.gl/zip": "4.3.0-beta.1",
|
|
58
58
|
"@math.gl/core": "^4.1.0",
|
|
59
59
|
"@math.gl/culling": "^4.1.0",
|
|
60
60
|
"@math.gl/geospatial": "^4.1.0",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"peerDependencies": {
|
|
65
65
|
"@loaders.gl/core": "^4.0.0"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "992d24e7d4e3015a91fa1cbfe87ee7dc1b333322"
|
|
68
68
|
}
|
|
@@ -90,7 +90,7 @@ function getChildS2VolumeBox(
|
|
|
90
90
|
* @param implicitOptions - options specified at the root of this implicit tile tree - numbers of levels, URL templates.
|
|
91
91
|
* @param loaderOptions - see Tiles3DLoaderOptions.
|
|
92
92
|
*/
|
|
93
|
-
// eslint-disable-next-line max-statements
|
|
93
|
+
// eslint-disable-next-line max-statements, complexity
|
|
94
94
|
export async function parseImplicitTiles(params: {
|
|
95
95
|
subtree: Subtree;
|
|
96
96
|
subtreeData?: {level: number; x: number; y: number; z: number};
|
|
@@ -6,9 +6,8 @@ import {Vector3} from '@math.gl/core';
|
|
|
6
6
|
import {OrientedBoundingBox, makeOrientedBoundingBoxFromPoints} from '@math.gl/culling';
|
|
7
7
|
|
|
8
8
|
import type {S2HeightInfo} from '../../utils/s2/index';
|
|
9
|
-
import {getS2OrientedBoundingBoxCornerPoints} from '../../utils/s2/index';
|
|
9
|
+
import {getS2OrientedBoundingBoxCornerPoints, getS2LngLat} from '../../utils/s2/index';
|
|
10
10
|
|
|
11
|
-
import {getS2LngLat} from '../../utils/s2/index';
|
|
12
11
|
import {Ellipsoid} from '@math.gl/geospatial';
|
|
13
12
|
|
|
14
13
|
export type S2VolumeInfo = {
|