@nebula-spatial/viewer 0.6.7 → 0.6.8

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/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to this package are documented in this file.
4
4
 
5
+ ## 0.6.8
6
+
7
+ ### Fixed
8
+
9
+ - 修复动态 Raycast 的 BVH 构建参数与 `three-mesh-bvh` 0.9 系列部分版本不匹配的问题:这些版本不支持 `targetLeafSize`,导致软体/Flex 动态网格回退到默认叶节点大小;改用兼容的 `maxLeafSize` 后按预期构建加速结构。
10
+
5
11
  ## 0.6.7
6
12
 
7
13
  ### Fixed
@@ -1,7 +1,7 @@
1
1
  var lt = Object.defineProperty;
2
2
  var ct = (e, t, n) => t in e ? lt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var U = (e, t, n) => ct(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { I as ut, J as x, K as X, L as ft, N as dt, O as ht, U as mt, s as pt, M as bt, P as _t } from "./index-jlMvDvhU.js";
4
+ import { I as ut, J as x, K as X, L as ft, N as dt, O as ht, U as mt, s as pt, M as bt, P as _t } from "./index-DEmX80cg.js";
5
5
  import { Vector3 as Z } from "three";
6
6
  const Et = /* @__PURE__ */ new Set([
7
7
  "E_MJCF_INCLUDE_CYCLE",
@@ -643,7 +643,7 @@ function qt(e, t = e.geometry) {
643
643
  let s = n.boundsTree, i = !1;
644
644
  if (!s) {
645
645
  try {
646
- s = new bt(t, { targetLeafSize: 20, indirect: !0, verbose: !1 });
646
+ s = new bt(t, { maxLeafSize: 20, indirect: !0, verbose: !1 });
647
647
  } catch {
648
648
  return Bt;
649
649
  }
@@ -12,7 +12,7 @@ import { createCadDocumentSession as $l, getCadDocumentRenderResource as Gl, for
12
12
  import { CSS2DObject as Hl, CSS2DRenderer as ql } from "three/addons/renderers/CSS2DRenderer.js";
13
13
  import { viewerRuntimeAssetUrls as ys } from "@nebula-spatial/viewer/runtime-assets";
14
14
  import Wl from "@mujoco/mujoco/mujoco.wasm?url";
15
- const Yl = "0.6.7", Xl = "@nebula-spatial/viewer", xs = "__NEBULA_SPATIAL_VIEWER_BANNER_PRINTED__";
15
+ const Yl = "0.6.8", Xl = "@nebula-spatial/viewer", xs = "__NEBULA_SPATIAL_VIEWER_BANNER_PRINTED__";
16
16
  function ws() {
17
17
  const n = `%c ${Xl} %c v${Yl} `;
18
18
  console.log(n, "background:#111827;color:#ffffff;padding:4px 10px;border-radius:4px 0 0 4px;font-weight:700;", "background:#10B981;color:#ffffff;padding:4px 10px;border-radius:0 4px 4px 0;font-weight:700;");
@@ -10272,7 +10272,7 @@ const Wh = {
10272
10272
  clearColor: ut.dark
10273
10273
  },
10274
10274
  async createSession(e, t) {
10275
- const { createModelSession: i } = await import("./session-CD-me-3k.js");
10275
+ const { createModelSession: i } = await import("./session-D98gYyL3.js");
10276
10276
  return i(e, t);
10277
10277
  }
10278
10278
  });
@@ -10356,7 +10356,7 @@ const Zh = {
10356
10356
  clearColor: ut.dark
10357
10357
  },
10358
10358
  async createSession(e, t) {
10359
- const { createSimulationSession: i } = await import("./session-DjoV8nG4.js");
10359
+ const { createSimulationSession: i } = await import("./session-CxPD2fPU.js");
10360
10360
  return i(e, t);
10361
10361
  }
10362
10362
  });
@@ -11472,7 +11472,7 @@ const Rp = {
11472
11472
  return t === "ply" ? { format: "ply" } : t === "spz" ? { format: "gaussian-spz" } : t === "splat" ? { format: "splat" } : t === "ksplat" ? { format: "ksplat" } : t === "sog" || (s = e.entryPath) != null && s.toLowerCase().endsWith(".sog.zip") ? { format: "sog" } : t === "rad" ? { format: "rad" } : null;
11473
11473
  },
11474
11474
  async createSession(e, t) {
11475
- const { createVisualSession: i } = await import("./session-DJlYrv7o.js");
11475
+ const { createVisualSession: i } = await import("./session-D20eDowE.js");
11476
11476
  return i(e, t);
11477
11477
  }
11478
11478
  });
@@ -15762,7 +15762,7 @@ function Am(n, e, t) {
15762
15762
  }
15763
15763
  let O = null, j = null;
15764
15764
  try {
15765
- const H = dm(T, a.environment), { MujocoRuntime: ee } = await import("./mujoco-runtime-BcD33xjr.js");
15765
+ const H = dm(T, a.environment), { MujocoRuntime: ee } = await import("./mujoco-runtime-Dn2yyGuI.js");
15766
15766
  if (O = new ee(), await O.initialize(H.physics, {
15767
15767
  baseUrl: e.mujocoBaseUrl,
15768
15768
  wasmModule: e.mujocoWasmModule
@@ -17750,7 +17750,7 @@ function Jg(n = {}) {
17750
17750
  }
17751
17751
  let xa = null;
17752
17752
  function Zg() {
17753
- return xa ?? (xa = import("./usd-session-CjZKAoph.js").then(() => {
17753
+ return xa ?? (xa = import("./usd-session-DRnVjKEv.js").then(() => {
17754
17754
  })), xa;
17755
17755
  }
17756
17756
  function Zm(n) {
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { E as s, L as o, Z as r, N as n, U as t, K as c, _ as i, $ as d, a0 as U, a1 as S, a2 as E, a3 as _, a4 as l, a5 as D, a6 as R, Q as m, a7 as p, a8 as u, m as C, a9 as O, aa as f, ab as G, ac as I, ad as N, ae as T, af as V } from "./index-jlMvDvhU.js";
1
+ import { E as s, L as o, Z as r, N as n, U as t, K as c, _ as i, $ as d, a0 as U, a1 as S, a2 as E, a3 as _, a4 as l, a5 as D, a6 as R, Q as m, a7 as p, a8 as u, m as C, a9 as O, aa as f, ab as G, ac as I, ad as N, ae as T, af as V } from "./index-DEmX80cg.js";
2
2
  import { configureCadTextBuilder as x } from "@nebula-spatial/cad-loader";
3
3
  export {
4
4
  s as DEFAULT_GROUND_GRID_SCALE,
@@ -1,4 +1,4 @@
1
- import { W as v, Y as E, d as z } from "./index-jlMvDvhU.js";
1
+ import { W as v, Y as E, d as z } from "./index-DEmX80cg.js";
2
2
  import { Group as q, Euler as G, BoxGeometry as N, SphereGeometry as P, CylinderGeometry as $, CapsuleGeometry as I, PlaneGeometry as X, Mesh as j } from "three";
3
3
  function Y(f) {
4
4
  const y = f.extension.documents, l = new q();
@@ -3,7 +3,7 @@ var et = (v, t, e) => t in v ? tt(v, t, { enumerable: !0, configurable: !0, writ
3
3
  var x = (v, t, e) => et(v, typeof t != "symbol" ? t + "" : t, e);
4
4
  import it from "@mujoco/mujoco";
5
5
  import { Quaternion as B, Vector3 as D } from "three";
6
- import { e as st, y as U, z as ot } from "./index-jlMvDvhU.js";
6
+ import { e as st, y as U, z as ot } from "./index-DEmX80cg.js";
7
7
  let rt = 0;
8
8
  function nt(v, t) {
9
9
  const e = `/viewer-simulation-${++rt}`;
@@ -1,7 +1,7 @@
1
- import { c as Ie, d as Ue, p as Ve, S as Le, w as ke, e as Je, a as oe, b as $e } from "./dynamic-raycast-DhiSzt3O.js";
2
- import { F as xe, G as ze, E as Xe, D as ue, d as We, H as Fe, S as Re } from "./index-jlMvDvhU.js";
1
+ import { c as Ie, d as Ue, p as Ve, S as Le, w as ke, e as Je, a as oe, b as $e } from "./dynamic-raycast-BW_YlAtV.js";
2
+ import { F as xe, G as ze, E as Xe, D as ue, d as We, H as Fe, S as Re } from "./index-DEmX80cg.js";
3
3
  import { CylinderGeometry as Ye, MeshStandardMaterial as _e, InstancedMesh as Be, DynamicDrawUsage as He, BufferGeometry as Ke, BufferAttribute as Ge, DoubleSide as Qe, Mesh as Ze, DataTexture as et, RGBAFormat as tt, UnsignedByteType as rt, SRGBColorSpace as st, NoColorSpace as at, RepeatWrapping as nt, LinearFilter as it, LinearMipmapLinearFilter as lt, Vector3 as Y, Quaternion as ot, Matrix4 as ut } from "three";
4
- import { a as ft, r as ct } from "./spark-renderer-BUUhXzu_.js";
4
+ import { a as ft, r as ct } from "./spark-renderer-D-bKFKf6.js";
5
5
  const Z = 0.7, fe = 0.2, dt = 110 * Math.PI / 180;
6
6
  function mt(l, e = {}) {
7
7
  const g = l.getSnapshot();
@@ -404,7 +404,7 @@ function Rt(l, e) {
404
404
  const k = e.format;
405
405
  if (k === "usd" || k === "usda" || k === "usdc" || k === "usdz") {
406
406
  (r = e.reportProgress) == null || r.call(e, "usd-visual", "正在解析 USD 视觉场景...");
407
- const S = await (await import("./usd-session-CjZKAoph.js")).loadUsdSimulation(l, e, g);
407
+ const S = await (await import("./usd-session-DRnVjKEv.js")).loadUsdSimulation(l, e, g);
408
408
  if (u || e.signal.aborted)
409
409
  throw S.dispose(), de();
410
410
  N = S, a = { root: S.visual.root, sync() {
@@ -424,7 +424,7 @@ function Rt(l, e) {
424
424
  }
425
425
  if (k === "urdf" || k === "xacro") {
426
426
  (T = e.reportProgress) == null || T.call(e, "urdf", "正在解析 URDF 场景与运动学结构...");
427
- const S = await (await import("./urdf-session-CulvJBl2.js")).loadUrdfSimulation(l, e, g);
427
+ const S = await (await import("./urdf-session-D_LD1j5U.js")).loadUrdfSimulation(l, e, g);
428
428
  if (u || e.signal.aborted)
429
429
  throw S.dispose(), de();
430
430
  D = S.asset, t = S.stage, y = S.inspection, d = S.dispose, n = S.step, i = S.reset, w = S.play, M = S.pause, o = S.isPlaying, c = () => S.capabilities, F = () => S.physics, P = !1, m = !1, R = S.warning ?? null, K(), re();
@@ -448,7 +448,7 @@ function Rt(l, e) {
448
448
  (ve = e.reportProgress) == null || ve.call(e, "compile", "正在编译物理模型与参数...");
449
449
  const I = await yt(D);
450
450
  V = I, ae(u, e.signal), (Ae = e.reportProgress) == null || Ae.call(e, "runtime", "正在初始化物理内核...");
451
- const { MujocoRuntime: S } = await import("./mujoco-runtime-BcD33xjr.js");
451
+ const { MujocoRuntime: S } = await import("./mujoco-runtime-Dn2yyGuI.js");
452
452
  s = new S(), await s.initialize(I, {
453
453
  baseUrl: e.options.mujocoBaseUrl,
454
454
  wasmModule: e.options.mujocoWasmModule
@@ -456,7 +456,7 @@ function Rt(l, e) {
456
456
  } catch (I) {
457
457
  const S = oe(I, e.signal, "mjcf-physics");
458
458
  s == null || s.dispose(), s = null;
459
- const { compileMjcfPreview: z } = await import("./mjcf-visual-CApGRZP1.js");
459
+ const { compileMjcfPreview: z } = await import("./mjcf-visual-BkiYD5Ks.js");
460
460
  let X;
461
461
  try {
462
462
  X = z(D);
@@ -1,8 +1,8 @@
1
1
  import { Group as $, MeshStandardMaterial as H, Mesh as z, PointsMaterial as Q, Points as j, Color as J, Box3 as q, Vector3 as x, MeshBasicMaterial as X, BoxGeometry as _ } from "three";
2
2
  import { PLYLoader as ee } from "three/examples/jsm/loaders/PLYLoader.js";
3
3
  import { S as te, a as b } from "./spark.module-kM8pwA1o.js";
4
- import { Q as ne, B as I, D as re, E as ie, T as ae } from "./index-jlMvDvhU.js";
5
- import { a as se, r as oe } from "./spark-renderer-BUUhXzu_.js";
4
+ import { Q as ne, B as I, D as re, E as ie, T as ae } from "./index-DEmX80cg.js";
5
+ import { a as se, r as oe } from "./spark-renderer-D-bKFKf6.js";
6
6
  function Ae(t, e) {
7
7
  let u = !1, o = null, f = null, r = null, s = null, m = null, d = null, h = null, a = null, B = "unsupported", v = null, F = null, k = null, S = "y", G;
8
8
  const T = P(), V = () => {
@@ -1,7 +1,7 @@
1
1
  import { DataTexture as ne, LinearMipmapLinearFilter as Xe, LinearFilter as _e, Loader as J, LoaderUtils as Ve, FileLoader as Ge, TextureLoader as Se, RepeatWrapping as pe, ClampToEdgeWrapping as fe, Texture as Y, MeshPhongMaterial as W, MeshLambertMaterial as Fe, ColorManagement as N, Color as k, SRGBColorSpace as X, EquirectangularReflectionMapping as Ne, Matrix4 as L, Group as ce, Bone as he, PropertyBinding as ee, Object3D as Z, PerspectiveCamera as $e, PointLight as de, MathUtils as B, SpotLight as je, DirectionalLight as ze, SkinnedMesh as He, Mesh as Ae, LineBasicMaterial as We, Line as Ye, Vector3 as V, Skeleton as qe, AmbientLight as Ke, BufferGeometry as re, Float32BufferAttribute as z, Uint16BufferAttribute as Ze, Matrix3 as Qe, Vector2 as Je, ShapeUtils as et, Vector4 as tt, Euler as j, AnimationClip as nt, Quaternion as G, VectorKeyframeTrack as rt, QuaternionKeyframeTrack as me, NumberKeyframeTrack as st, LoadingManager as at, LinearSRGBColorSpace as ge, RGBAFormat as Ie, UnsignedByteType as Re, NoColorSpace as ot, MeshPhysicalMaterial as De, Box3 as it } from "three";
2
2
  import { DRACOLoader as lt } from "three/examples/jsm/loaders/DRACOLoader.js";
3
3
  import { GLTFLoader as ct } from "three/examples/jsm/loaders/GLTFLoader.js";
4
- import { A as ye, B as we, D as ut, d as ve, E as pt } from "./index-jlMvDvhU.js";
4
+ import { A as ye, B as we, D as ut, d as ve, E as pt } from "./index-DEmX80cg.js";
5
5
  import { TGALoader as ft } from "three/examples/jsm/loaders/TGALoader.js";
6
6
  import * as ht from "three/examples/jsm/libs/fflate.module.js";
7
7
  import { unzlibSync as dt } from "three/examples/jsm/libs/fflate.module.js";
@@ -1733,7 +1733,7 @@ async function Lt(o, e, t) {
1733
1733
  return m = new xt(u).parse(o, ""), await Promise.all(i), e.signal.throwIfAborted(), { root: m, textures: l, textureFailures: f };
1734
1734
  } catch (g) {
1735
1735
  if (n.abort(g), await Promise.allSettled(i), m) {
1736
- const { disposeModelResources: d } = await import("./index-jlMvDvhU.js").then((T) => T.ag);
1736
+ const { disposeModelResources: d } = await import("./index-DEmX80cg.js").then((T) => T.ag);
1737
1737
  d(m, l);
1738
1738
  } else for (const d of l) d.dispose();
1739
1739
  throw g;
@@ -1,5 +1,5 @@
1
1
  import { b as d } from "./spark.module-kM8pwA1o.js";
2
- import { R as p } from "./index-jlMvDvhU.js";
2
+ import { R as p } from "./index-DEmX80cg.js";
3
3
  const a = /* @__PURE__ */ new WeakMap();
4
4
  function o(r, e, s) {
5
5
  let n = a.get(e);
@@ -1,8 +1,8 @@
1
1
  var We = Object.defineProperty;
2
2
  var Ce = (i, e, s) => e in i ? We(i, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : i[e] = s;
3
3
  var R = (i, e, s) => Ce(i, typeof e != "symbol" ? e + "" : e, s);
4
- import { c as Ge, d as Te, e as Ve, w as ye, f as ge, a as Je } from "./dynamic-raycast-DhiSzt3O.js";
5
- import { d as I, V as Oe, W as be, t as Be, u as Qe, v as we, M as Xe, P as Ke, i as Ze, D as Ye, X as ve, S as Me } from "./index-jlMvDvhU.js";
4
+ import { c as Ge, d as Te, e as Ve, w as ye, f as ge, a as Je } from "./dynamic-raycast-BW_YlAtV.js";
5
+ import { d as I, V as Oe, W as be, t as Be, u as Qe, v as we, M as Xe, P as Ke, i as Ze, D as Ye, X as ve, S as Me } from "./index-DEmX80cg.js";
6
6
  import { Quaternion as O, Euler as X, LoadingManager as _e, Group as L, Mesh as z, MeshLambertMaterial as He, MeshPhongMaterial as Re, MeshStandardMaterial as oe, TextureLoader as et, SRGBColorSpace as tt, RepeatWrapping as it, BoxGeometry as re, SphereGeometry as ae, CylinderGeometry as De, CapsuleGeometry as qe, Matrix4 as W, Vector3 as P, MathUtils as st, Matrix3 as Ae, Box3 as $e, AxesHelper as nt, ArrowHelper as Ee, Line as ot, BufferGeometry as rt, LineBasicMaterial as je, Float32BufferAttribute as at, MeshBasicMaterial as Se, LineSegments as lt, EdgesGeometry as ct } from "three";
7
7
  import { GLTFLoader as ut } from "three/examples/jsm/loaders/GLTFLoader.js";
8
8
  import { ColladaLoader as dt } from "three/examples/jsm/loaders/ColladaLoader.js";
@@ -1090,7 +1090,7 @@ async function Vt(i, e, s) {
1090
1090
  const a = e.format === "xacro";
1091
1091
  if (a) {
1092
1092
  (q = e.reportProgress) == null || q.call(e, "xacro", "正在展开 Xacro 宏与依赖文件...");
1093
- const { expandXacro: v } = await import("./xacro-BWEr4Pqt.js");
1093
+ const { expandXacro: v } = await import("./xacro-BZmqTcxa.js");
1094
1094
  n = await v(n, t, s, e.options.xacro, e.signal);
1095
1095
  }
1096
1096
  if (e.signal.aborted) throw Q();
@@ -1140,7 +1140,7 @@ async function Vt(i, e, s) {
1140
1140
  try {
1141
1141
  const G = await vt(o);
1142
1142
  if (e.signal.aborted || S) throw Q();
1143
- const Z = await import("./mujoco-runtime-BcD33xjr.js");
1143
+ const Z = await import("./mujoco-runtime-Dn2yyGuI.js");
1144
1144
  if (v = new Z.MujocoRuntime(), await v.initialize(G, {
1145
1145
  baseUrl: e.options.mujocoBaseUrl,
1146
1146
  wasmModule: e.options.mujocoWasmModule
@@ -2,9 +2,9 @@ var Lc = Object.defineProperty;
2
2
  var Bc = (e, t, n) => t in e ? Lc(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var _n = (e, t, n) => Bc(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import { Box3 as lt, Vector3 as F, SphereGeometry as Fc, Float32BufferAttribute as zt, Mesh as De, MeshBasicMaterial as So, Group as _t, BoxGeometry as Qa, LineSegments as Vc, EdgesGeometry as zc, LineBasicMaterial as xr, AxesHelper as jc, ArrowHelper as Wc, Line as Gc, BufferGeometry as Qo, Quaternion as He, Points as ei, MeshPhysicalMaterial as se, FrontSide as zn, DoubleSide as $t, DataTexture as Ss, UnsignedByteType as vs, RGBAFormat as Ms, NoColorSpace as ze, SRGBColorSpace as Pn, Material as Yc, ShaderChunk as ti, Color as Te, TextureLoader as Fs, Texture as mn, Ray as er, BufferAttribute as Vs, Matrix4 as Ke, Matrix3 as ni, RepeatWrapping as $e, MeshStandardMaterial as Dn, ClampToEdgeWrapping as jn, MirroredRepeatWrapping as Hc, CanvasTexture as Xc, PointsMaterial as Jc, LinearSRGBColorSpace as Kc, CylinderGeometry as qc, InstancedMesh as Zc, DynamicDrawUsage as Qc, SkinnedMesh as ns, Skeleton as eu, AnimationMixer as tu, LoopRepeat as nu, Sphere as su } from "three";
5
- import { i as ou, d as tr, r as ru, o as au, a as iu, c as cu, b as si, e as uu, f as lu, g as fu, U as pu, h as du, j as oi, k as ri, l as nr, m as Dt, n as hu, p as mu, q as gu, M as sr, s as ai, R as yu, t as Ir, u as Ar, C as Tr, v as ii, w as ci, x as _u, S as Dr } from "./index-jlMvDvhU.js";
5
+ import { i as ou, d as tr, r as ru, o as au, a as iu, c as cu, b as si, e as uu, f as lu, g as fu, U as pu, h as du, j as oi, k as ri, l as nr, m as Dt, n as hu, p as mu, q as gu, M as sr, s as ai, R as yu, t as Ir, u as Ar, C as Tr, v as ii, w as ci, x as _u, S as Dr } from "./index-DEmX80cg.js";
6
6
  import { k as bu } from "./physics-guide-size-CplAlsve.js";
7
- import { r as ui, n as Rt, u as wu, p as Pr, c as Su, a as Cr, b as vu, d as Mu } from "./dynamic-raycast-DhiSzt3O.js";
7
+ import { r as ui, n as Rt, u as wu, p as Pr, c as Su, a as Cr, b as vu, d as Mu } from "./dynamic-raycast-BW_YlAtV.js";
8
8
  import { ConvexGeometry as li } from "three/examples/jsm/geometries/ConvexGeometry.js";
9
9
  import { buildUSDScene as Uu, createUSDLoadedModel as xu } from "@openusd-wasm/three-loader";
10
10
  import { KTX2Loader as Iu } from "three/addons/loaders/KTX2Loader.js";
@@ -11358,7 +11358,7 @@ async function Xm(e, t, n) {
11358
11358
  Oe
11359
11359
  );
11360
11360
  if (!((wr = Ae.flexes) != null && wr.length)) throw we("USD soft-body contracts did not produce a flexcomp.", "E_USD_SOFTBODY_UNSUPPORTED");
11361
- const { MujocoRuntime: Xe } = await import("./mujoco-runtime-BcD33xjr.js");
11361
+ const { MujocoRuntime: Xe } = await import("./mujoco-runtime-Dn2yyGuI.js");
11362
11362
  H = new Xe(), await H.initialize(Ae, {
11363
11363
  baseUrl: t.options.mujocoBaseUrl,
11364
11364
  wasmModule: t.options.mujocoWasmModule
@@ -11425,7 +11425,7 @@ async function Xm(e, t, n) {
11425
11425
  message: `${Ye.accelerationDrives.length} 个 acceleration drive 已按 MuJoCo 初始化姿态的关节广义惯量 M(jj) 转换为等效力/力矩;多关节耦合或大幅运动后的有效惯量变化不会逐帧重算。`,
11426
11426
  source: "usd-physics"
11427
11427
  }), (vr = Ye.massOverrides) != null && vr.length && d.approximations.push({ code: "USD_INFERRED_INERTIA", message: "保留显式总质量;惯量按碰撞几何的密度分布推导并同比缩放,重叠体积会重复计入。", source: "usd-physics" });
11428
- const { MujocoRuntime: H } = await import("./mujoco-runtime-BcD33xjr.js");
11428
+ const { MujocoRuntime: H } = await import("./mujoco-runtime-Dn2yyGuI.js");
11429
11429
  k = new H(), await k.initialize(Ye, {
11430
11430
  baseUrl: t.options.mujocoBaseUrl,
11431
11431
  wasmModule: t.options.mujocoWasmModule
package/dist/version.d.ts CHANGED
@@ -2,4 +2,4 @@
2
2
  * Viewer 版本号。必须与 package.json 的 version 保持一致,
3
3
  * check-boundary 脚本会在构建前校验两者是否漂移。
4
4
  */
5
- export declare const viewerVersion = "0.6.7";
5
+ export declare const viewerVersion = "0.6.8";
@@ -1,4 +1,4 @@
1
- import { n as bt } from "./dynamic-raycast-DhiSzt3O.js";
1
+ import { n as bt } from "./dynamic-raycast-BW_YlAtV.js";
2
2
  function _t(t) {
3
3
  const e = t.split(/[\\/]/g);
4
4
  return e.pop(), e.length === 0 ? "./" : e.join("/") + "/";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nebula-spatial/viewer",
3
- "version": "0.6.7",
3
+ "version": "0.6.8",
4
4
  "description": "Read-only Three.js viewer facade",
5
5
  "license": "ISC",
6
6
  "engines": {