gl-draw 0.18.17 → 0.18.19
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.d.ts +8 -8
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1364,6 +1364,12 @@ declare interface CameraParams {
|
|
|
1364
1364
|
|
|
1365
1365
|
declare function cartographicToCartesian(longitude: number, latitude: number, height?: number, scaleFactor?: number, usePerfectSphere?: boolean): Vector3;
|
|
1366
1366
|
|
|
1367
|
+
/**
|
|
1368
|
+
* Clone JSON-like data before mutation.
|
|
1369
|
+
* Native Proxy-backed objects are normalized to plain objects first.
|
|
1370
|
+
*/
|
|
1371
|
+
declare function cloneJsonLikeValue<T>(value: T, logScope?: string): T;
|
|
1372
|
+
|
|
1367
1373
|
/**
|
|
1368
1374
|
* 标签碰撞检测管理器
|
|
1369
1375
|
* 参考 Mapbox symbol-placement 实现
|
|
@@ -3079,15 +3085,8 @@ declare class SceneSerializer {
|
|
|
3079
3085
|
* 根据 objectType 和 registry 创建 BaseObject 实例
|
|
3080
3086
|
*/
|
|
3081
3087
|
private _createInstance;
|
|
3082
|
-
/**
|
|
3083
|
-
* 还原前克隆输入,避免修改调用方持有的数据对象。
|
|
3084
|
-
* 如果 structuredClone 失败,会输出首个不可复制的属性路径。
|
|
3085
|
-
*/
|
|
3086
|
-
private _cloneRestoreInput;
|
|
3087
|
-
private _findStructuredCloneFailure;
|
|
3088
|
-
private _appendClonePath;
|
|
3089
3088
|
private _cloneObject3dUserData;
|
|
3090
|
-
private
|
|
3089
|
+
private _shouldSkipObjectOptionValue;
|
|
3091
3090
|
/**
|
|
3092
3091
|
* 安全地克隆 options,过滤掉不可序列化的 Three.js 对象
|
|
3093
3092
|
*/
|
|
@@ -3250,6 +3249,7 @@ export declare const utils: {
|
|
|
3250
3249
|
analyzeSceneExport: typeof analyzeSceneExport;
|
|
3251
3250
|
CacheManager: typeof CacheManager;
|
|
3252
3251
|
cartographicToCartesian: typeof cartographicToCartesian;
|
|
3252
|
+
cloneJsonLikeValue: typeof cloneJsonLikeValue;
|
|
3253
3253
|
WGS84: {
|
|
3254
3254
|
a: number;
|
|
3255
3255
|
b: number;
|