@nebula-spatial/viewer 0.5.2 → 0.5.3
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 +23 -0
- package/dist/{index-Bp6O65bP.js → index-DmGuwbBM.js} +492 -432
- package/dist/index.d.ts +1 -0
- package/dist/index.js +10 -5
- package/dist/{mjcf-visual-te_DOjK9.js → mjcf-visual-CFXIhVyT.js} +2 -2
- package/dist/{session-2sDMfyTY.js → session-Boljcc3d.js} +276 -254
- package/dist/session-BzIziNzg.js +960 -0
- package/dist/{stage-BrKWuPMa.js → stage-C7B1_qJ0.js} +3 -3
- package/dist/{urdf-session-iGr3RegL.js → urdf-session-BleSrYNu.js} +3 -3
- package/dist/usd-session-DFbFB8bP.js +2392 -0
- package/dist/version.d.ts +1 -1
- package/dist/{xacro-Cl87kJRU.js → xacro-D1hcJ9kB.js} +1 -1
- package/package.json +1 -1
- package/dist/session-CVL_PXO4.js +0 -953
- package/dist/usd-session-DX1DHQKU.js +0 -2363
|
@@ -3,7 +3,7 @@ var P = (n, e, t) => e in n ? w(n, e, { enumerable: !0, configurable: !0, writab
|
|
|
3
3
|
var a = (n, e, t) => P(n, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import * as r from "three";
|
|
5
5
|
import { Quaternion as y, Vector3 as C } from "three";
|
|
6
|
-
import { V as x } from "./index-
|
|
6
|
+
import { V as x } from "./index-DmGuwbBM.js";
|
|
7
7
|
const m = 1, S = (
|
|
8
8
|
/* glsl */
|
|
9
9
|
`
|
|
@@ -198,8 +198,8 @@ const v = {
|
|
|
198
198
|
reflectionMix: 0.06
|
|
199
199
|
}
|
|
200
200
|
}, W = {
|
|
201
|
-
simulation:
|
|
202
|
-
model: 1.
|
|
201
|
+
simulation: 1.2,
|
|
202
|
+
model: 1.2
|
|
203
203
|
};
|
|
204
204
|
function M(n, e = []) {
|
|
205
205
|
var u;
|
|
@@ -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 { b as dn, d as pn, e as oi, c as mn, a as ri, r as hn, S as ai, p as yn } from "./session-
|
|
5
|
-
import { b as ft, S as gn, m as ci } from "./stage-
|
|
4
|
+
import { b as dn, d as pn, e as oi, c as mn, a as ri, r as hn, S as ai, p as yn } from "./session-Boljcc3d.js";
|
|
5
|
+
import { b as ft, S as gn, m as ci } from "./stage-C7B1_qJ0.js";
|
|
6
6
|
import { Quaternion as K, Euler as Zt, LoadingManager as Ci, Group as ut, Mesh as C, MeshLambertMaterial as wn, MeshPhongMaterial as li, MeshStandardMaterial as Je, Matrix4 as H, TextureLoader as bn, SRGBColorSpace as xn, RepeatWrapping as An, BoxGeometry as He, SphereGeometry as Ze, CylinderGeometry as Ni, CapsuleGeometry as qi, Vector3 as z, MathUtils as Mn, Matrix3 as ui, Box3 as it, BufferAttribute as Oi, Line3 as dt, Plane as Vi, Vector2 as gt, Triangle as $t, BackSide as vn, DoubleSide as Pn, REVISION as Wi, Ray as Sn, FrontSide as fi, LineSegments as Qe, LineLoop as Gi, Line as Ye, Points as Xi, Sphere as Tn, BatchedMesh as Rn, AxesHelper as Bn, ArrowHelper as di, BufferGeometry as _n, LineBasicMaterial as pi, Float32BufferAttribute as En, MeshBasicMaterial as mi, EdgesGeometry as zn } from "three";
|
|
7
7
|
import { GLTFLoader as Un } from "three/examples/jsm/loaders/GLTFLoader.js";
|
|
8
8
|
import { ColladaLoader as Fn } from "three/examples/jsm/loaders/ColladaLoader.js";
|
|
@@ -3124,7 +3124,7 @@ async function yo(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-
|
|
3127
|
+
const { expandXacro: U } = await import("./xacro-D1hcJ9kB.js");
|
|
3128
3128
|
s = await U(s, e, i, t.options.xacro, t.signal);
|
|
3129
3129
|
}
|
|
3130
3130
|
if (t.signal.aborted) throw Jt();
|