@maptalks/gpu 0.117.0 → 0.117.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/maptalksgpu.d.ts +5 -11
- package/dist/maptalksgpu.es.js +742 -675
- package/dist/maptalksgpu.es.js.map +1 -1
- package/dist/maptalksgpu.js +1027 -999
- package/dist/maptalksgpu.js.map +1 -1
- package/dist/transcoders.js +1 -1
- package/package.json +4 -4
package/dist/maptalksgpu.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="@webgpu/types" />
|
|
2
2
|
/*!
|
|
3
|
-
* @maptalks/gpu v0.117.
|
|
3
|
+
* @maptalks/gpu v0.117.1
|
|
4
4
|
* LICENSE : UNLICENSED
|
|
5
5
|
* (c) 2016-2025 maptalks.com
|
|
6
6
|
*/
|
|
@@ -1436,10 +1436,7 @@ declare class GLTFPack {
|
|
|
1436
1436
|
geometries: any[];
|
|
1437
1437
|
_emptyTexture: any;
|
|
1438
1438
|
getMeshesInfo(): any[];
|
|
1439
|
-
getGLTFBBox():
|
|
1440
|
-
min: number[];
|
|
1441
|
-
max: number[];
|
|
1442
|
-
};
|
|
1439
|
+
getGLTFBBox(transform: any): BoundingBox;
|
|
1443
1440
|
_createSkins(skins: any): void;
|
|
1444
1441
|
_skinMap: {};
|
|
1445
1442
|
_createTextures(textures: any): void;
|
|
@@ -1492,7 +1489,7 @@ declare class GLTFPack {
|
|
|
1492
1489
|
* @param options
|
|
1493
1490
|
* @returns
|
|
1494
1491
|
*/
|
|
1495
|
-
arrangeAlongLine(from: any, to: any, xyDist: any, gltfScale: any, projectionScale: any, options: any): {
|
|
1492
|
+
arrangeAlongLine(from: any, to: any, xyDist: any, gltfScale: any, projectionScale: any, rotationScaleMat: any, options: any): {
|
|
1496
1493
|
coordinates: any;
|
|
1497
1494
|
t: number;
|
|
1498
1495
|
scale: number[];
|
|
@@ -1501,7 +1498,7 @@ declare class GLTFPack {
|
|
|
1501
1498
|
rotationXY: number;
|
|
1502
1499
|
}[];
|
|
1503
1500
|
calModelHeightScale(out: any, modelHeight: any): vec3;
|
|
1504
|
-
_calBoxWidth(scale: any, options: any): any;
|
|
1501
|
+
_calBoxWidth(scale: any, rotationScaleMat: any, options: any): any;
|
|
1505
1502
|
_getRotationZ(from: any, to: any): number;
|
|
1506
1503
|
_getRotationXY(xyDist: any, zDist: any): number;
|
|
1507
1504
|
}
|
|
@@ -1529,10 +1526,7 @@ declare class GLTFManager {
|
|
|
1529
1526
|
addSimpleModel(id: any, gltfData: any): void;
|
|
1530
1527
|
removeSimpleModel(id: any): void;
|
|
1531
1528
|
_exportGLTFResource(gltf: any, url: any, useUniqueREGLBuffer?: boolean): {
|
|
1532
|
-
bbox:
|
|
1533
|
-
min: number[];
|
|
1534
|
-
max: number[];
|
|
1535
|
-
};
|
|
1529
|
+
bbox: BoundingBox;
|
|
1536
1530
|
gltfPack: GLTFPack;
|
|
1537
1531
|
resources: any[];
|
|
1538
1532
|
json: any;
|