gl-draw 0.18.16 → 0.18.18

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 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,6 +3085,7 @@ declare class SceneSerializer {
3079
3085
  * 根据 objectType 和 registry 创建 BaseObject 实例
3080
3086
  */
3081
3087
  private _createInstance;
3088
+ private _cloneObject3dUserData;
3082
3089
  /**
3083
3090
  * 安全地克隆 options,过滤掉不可序列化的 Three.js 对象
3084
3091
  */
@@ -3241,6 +3248,7 @@ export declare const utils: {
3241
3248
  analyzeSceneExport: typeof analyzeSceneExport;
3242
3249
  CacheManager: typeof CacheManager;
3243
3250
  cartographicToCartesian: typeof cartographicToCartesian;
3251
+ cloneJsonLikeValue: typeof cloneJsonLikeValue;
3244
3252
  WGS84: {
3245
3253
  a: number;
3246
3254
  b: number;