@nebula-spatial/viewer 0.5.4 → 0.5.5

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.
@@ -1,8 +1,8 @@
1
1
  import { DataTexture as N, LinearMipmapLinearFilter as re, LinearFilter as se, LoadingManager as oe, Loader as ae, Texture as C, TextureLoader as ie, LinearSRGBColorSpace as V, SRGBColorSpace as le, RGBAFormat as K, UnsignedByteType as J, NoColorSpace as ce, Mesh as ue, MeshPhysicalMaterial as Z, MeshPhongMaterial as k, MeshLambertMaterial as fe, Color as _, Group as pe, Box3 as de, Vector3 as he } from "three";
2
2
  import { DRACOLoader as me } from "three/examples/jsm/loaders/DRACOLoader.js";
3
3
  import { GLTFLoader as ge } from "three/examples/jsm/loaders/GLTFLoader.js";
4
- import { D as ye } from "./index-8TD-Puyo.js";
5
- import { d as Y, a as q, S as we, b as j } from "./stage-DAhe0IZz.js";
4
+ import { D as ye } from "./index-bTlVsOHA.js";
5
+ import { d as Y, a as q, S as we, b as j } from "./stage-DGMYxyAS.js";
6
6
  import { TGALoader as be } from "three/examples/jsm/loaders/TGALoader.js";
7
7
  import { FBXLoader as xe } from "three/examples/jsm/loaders/FBXLoader.js";
8
8
  import { unzlibSync as Ee } from "three/examples/jsm/libs/fflate.module.js";
@@ -179,7 +179,7 @@ async function Ae(e, t, n) {
179
179
  return d = new xe(o).parse(e, ""), await Promise.all(f), t.signal.throwIfAborted(), { root: d, textures: h, textureFailures: y };
180
180
  } catch (w) {
181
181
  if (s.abort(w), await Promise.allSettled(f), d) {
182
- const { disposeModelResources: u } = await import("./stage-DAhe0IZz.js").then((E) => E.r);
182
+ const { disposeModelResources: u } = await import("./stage-DGMYxyAS.js").then((E) => E.r);
183
183
  u(d, h);
184
184
  } else for (const u of h) u.dispose();
185
185
  throw w;
@@ -3,7 +3,7 @@ var C = (u, t, e) => t in u ? P(u, t, { enumerable: !0, configurable: !0, writab
3
3
  var s = (u, t, e) => C(u, typeof t != "symbol" ? t + "" : t, e);
4
4
  import * as o from "three";
5
5
  import { Quaternion as G, Vector3 as F } from "three";
6
- import { V as v, D as S, e as R } from "./index-8TD-Puyo.js";
6
+ import { V as v, D as S, e as R } from "./index-bTlVsOHA.js";
7
7
  const y = 1, A = (
8
8
  /* glsl */
9
9
  `
@@ -1,8 +1,8 @@
1
1
  var un = Object.defineProperty;
2
2
  var fn = (n, t, i) => t in n ? un(n, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : n[t] = i;
3
3
  var $ = (n, t, i) => fn(n, typeof t != "symbol" ? t + "" : t, i);
4
- import { d as dn, e as pn, f as oi, c as mn, a as hn, b as ri, r as yn, S as ai, p as gn } from "./session-um40A-5F.js";
5
- import { b as ft, S as wn, m as ci } from "./stage-DAhe0IZz.js";
4
+ import { d as dn, e as pn, f as oi, c as mn, a as hn, b as ri, r as yn, S as ai, p as gn } from "./session-CZghJvw6.js";
5
+ import { b as ft, S as wn, m as ci } from "./stage-DGMYxyAS.js";
6
6
  import { Quaternion as K, Euler as Zt, LoadingManager as Ci, Group as ut, Mesh as C, MeshLambertMaterial as bn, MeshPhongMaterial as li, MeshStandardMaterial as Je, Matrix4 as H, TextureLoader as xn, SRGBColorSpace as An, RepeatWrapping as Mn, BoxGeometry as He, SphereGeometry as Ze, CylinderGeometry as Ni, CapsuleGeometry as qi, Vector3 as z, MathUtils as vn, Matrix3 as ui, Box3 as it, BufferAttribute as Oi, Line3 as dt, Plane as Vi, Vector2 as gt, Triangle as $t, BackSide as Pn, DoubleSide as Sn, REVISION as Wi, Ray as Tn, FrontSide as fi, LineSegments as Qe, LineLoop as Gi, Line as Ye, Points as Xi, Sphere as Rn, BatchedMesh as Bn, AxesHelper as _n, ArrowHelper as di, BufferGeometry as En, LineBasicMaterial as pi, Float32BufferAttribute as zn, MeshBasicMaterial as mi, EdgesGeometry as Un } from "three";
7
7
  import { GLTFLoader as Fn } from "three/examples/jsm/loaders/GLTFLoader.js";
8
8
  import { ColladaLoader as $n } from "three/examples/jsm/loaders/ColladaLoader.js";
@@ -3124,7 +3124,7 @@ async function go(n, t, i) {
3124
3124
  const r = t.format === "xacro";
3125
3125
  if (r) {
3126
3126
  (E = t.reportProgress) == null || E.call(t, "xacro", "正在展开 Xacro 宏与依赖文件...");
3127
- const { expandXacro: U } = await import("./xacro-DPEhwEml.js");
3127
+ const { expandXacro: U } = await import("./xacro-DidnrxXF.js");
3128
3128
  s = await U(s, e, i, t.options.xacro, t.signal);
3129
3129
  }
3130
3130
  if (t.signal.aborted) throw Jt();