@needle-tools/engine 4.8.0-next.c98d4ee → 4.8.0-next.d64b390
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/{gltf-progressive-CeuEsYpY.min.js → gltf-progressive-43ba_8ZL.min.js} +3 -3
- package/dist/{gltf-progressive--2HtE1d8.umd.cjs → gltf-progressive-BrzbysCn.umd.cjs} +2 -2
- package/dist/{gltf-progressive-DY5t1MFv.js → gltf-progressive-DtAMqRsU.js} +54 -39
- package/dist/loader.worker-D5fjeWJO.js +27 -0
- package/dist/{needle-engine.bundle-By9CcUKE.js → needle-engine.bundle-B23O7jqK.js} +5 -5
- package/dist/{needle-engine.bundle-BGWBaskf.min.js → needle-engine.bundle-BFJMdMtI.min.js} +4 -4
- package/dist/{needle-engine.bundle-Dc3rwg_0.umd.cjs → needle-engine.bundle-DiXKsIfg.umd.cjs} +5 -5
- package/dist/needle-engine.js +3 -3
- package/dist/needle-engine.min.js +1 -1
- package/dist/needle-engine.umd.cjs +1 -1
- package/lib/engine/engine_serialization_builtin_serializer.js +1 -1
- package/lib/engine/engine_serialization_builtin_serializer.js.map +1 -1
- package/lib/engine/extensions/extensions.js +1 -1
- package/lib/engine/extensions/extensions.js.map +1 -1
- package/package.json +2 -2
- package/plugins/vite/dependency-watcher.js +6 -1
- package/src/engine/engine_serialization_builtin_serializer.ts +1 -1
- package/src/engine/extensions/extensions.ts +1 -1
- package/dist/loader.worker-8olmVOL4.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Vector2 as J, Vector3 as b, Vector4 as de, Quaternion as $, PlaneGeometry as Nn, WebGLRenderer as hr, PerspectiveCamera as pe, OrthographicCamera as kd, Scene as bi, Mesh as H, Texture as Te, Uniform$1 as Ui, Color as se, ShaderMaterial as jn, Box3 as yi, ShadowMaterial as rb, Euler as Tt, MeshStandardMaterial as ct, Box3Helper as qw, GridHelper as rm, Object3D as M, Material as _e, Matrix3 as ab, Matrix4 as te, Layers as lo, Ray as co, MathUtils as gs, AxesHelper as _i, MeshBasicMaterial as we, DoubleSide as vi, BufferGeometry as In, Group as no, CylinderGeometry as lb, SphereGeometry as Md, BoxGeometry as la, SpriteMaterial as Xw, Sprite as Qw, Shape as Yw, ExtrudeGeometry as Kw, Fog as cb, DirectionalLight as Zf, PointLight as am, EdgesGeometry as Zw, LineSegments as hb, LineBasicMaterial as db, Line as Zl, BufferAttribute as ht, Raycaster as Rd, Sphere as Td, ArrayCamera as Jw, Plane as tr, SkinnedMesh as ys, InterleavedBufferAttribute as ub, Skeleton as ex, Bone as tx, Source as ix, WebGLCubeRenderTarget as nx, CubeCamera as sx, AnimationClip as so, FileLoader as lm, TextureLoader as Qr, PropertyBinding as ca, LinearSRGBColorSpace as Ss, ShaderChunk as Vt, UniformsLib as ox, DataTexture as cm, RGBAFormat as Ed, EquirectangularReflectionMapping as _s, SRGBColorSpace as Cs, Clock as rx, NeutralToneMapping as ha, AgXToneMapping as Ad, ACESFilmicToneMapping as Id, NoToneMapping as Wh, PCFSoftShadowMap$1 as ax, BasicNodeLibrary as lx, WebGLRenderTarget as Bn, DepthTexture as fb, NearestFilter as Vh, LoopRepeat as cx, LoopOnce as Jf, AnimationMixer as hm, CompressedTexture as hx, FrontSide as ho, Camera as dx, Frustum as Hg, AudioListener as ux, PositionalAudio as fx, AudioLoader as ep, EventDispatcher as dm, BackSide as Ld, MeshDepthMaterial as px, CustomBlending as mx, MaxEquation as gx, AmbientLight as yx, HemisphereLight as _x, AlwaysStencilFunc as bx, GreaterEqualStencilFunc as vx, NotEqualStencilFunc as wx, GreaterStencilFunc as xx, LessEqualStencilFunc as Sx, EqualStencilFunc as Cx, LessStencilFunc as Px, NeverStencilFunc as Gg, InvertStencilOp as Ox, DecrementWrapStencilOp as kx, IncrementWrapStencilOp as Mx, DecrementStencilOp as Rx, IncrementStencilOp as Tx, ReplaceStencilOp as Ex, ZeroStencilOp as Ax, KeepStencilOp as Ix, RawShaderMaterial as pb, GLSL3 as Lx, AlwaysDepth as Dx, GreaterEqualDepth as jx, GreaterDepth as Bx, LessEqualDepth as Fx, LessDepth as zx, NotEqualDepth as Ux, EqualDepth as Nx, BatchedMesh as qg, MeshPhysicalMaterial as tp, LinearFilter as Hh, UnsignedByteType as $x, RingGeometry as Wx, Line3 as Vx, AdditiveBlending as mb, BoxHelper as Hx, SpotLight as Gx, DirectionalLightHelper as qx, CameraHelper as Xx, LOD as Qx, Triangle as Yx, NormalBlending as Kx, ReinhardToneMapping as um, LinearToneMapping as fm, HalfFloatType as Uu, VideoTexture as Zx, CubeTexture as Jx, CompressedCubeTexture as eS, EquirectangularRefractionMapping as tS, VectorKeyframeTrack as iS, QuaternionKeyframeTrack as nS, Audio as sS, ShaderLib as Gh, UniformsUtils as gb, MirroredRepeatWrapping as Xg, MeshNormalMaterial as oS, AudioContext as rS, PMREMGenerator$1 as aS } from "./three-DrqIzZTH.js";
|
|
2
|
-
import { createLoaders as pm, getRaycastMesh as yb, LODsManager as Or, NEEDLE_progressive as We, addDracoAndKTX2Loaders as lS, configureLoader as cS, setKTX2TranscoderLocation as hS, setDracoDecoderLocation as dS } from "./gltf-progressive-
|
|
2
|
+
import { createLoaders as pm, getRaycastMesh as yb, LODsManager as Or, NEEDLE_progressive as We, addDracoAndKTX2Loaders as lS, configureLoader as cS, setKTX2TranscoderLocation as hS, setDracoDecoderLocation as dS } from "./gltf-progressive-DtAMqRsU.js";
|
|
3
3
|
import { GroundedSkybox as da, Font as uS, TextGeometry as fS, FontLoader as pS, GLTFLoader as Ps, TransformControlsGizmo as _b, EXRLoader as qh, RGBELoader as ip, Stats as mS, nodeFrame as gS, OrbitControls as bb, PositionalAudioHelper as yS, HorizontalBlurShader as _S, VerticalBlurShader as bS, GLTFExporter as vb, strToU8 as wb, zipSync as vS, XRControllerModelFactory as wS, XRHandMeshModel as xS, Line2 as SS, LineGeometry as CS, LineMaterial as PS, KTX2Loader as OS, TransformControls as kS, InteractiveGroup as MS, HTMLMesh as RS, VertexNormalsHelper as TS, OBJLoader as mm, FBXLoader as xb, mergeVertices as ES } from "./three-examples-CM6Iip03.js";
|
|
4
4
|
import { fetchProfile as AS, MotionController as IS, $70d766613f57b014$export$2e2bcd8739ae039 as Qg, ByteBuffer as LS, v5 as Yg, md5 as Kg, SIZE_PREFIX_LENGTH as Sb, Builder as gm, createNoise4D as DS, Matrix4 as Nu, BatchedParticleRenderer as jS, ParticleSystem as BS, RenderMode as as, ConstantColor as FS, Vector4 as zS, ConstantValue as US, TrailParticle as Zg, WorkerBase as NS, MeshBVH as $S } from "./vendor-ClB-U1Hn.js";
|
|
5
5
|
import { __webpack_exports__default as Ce, __webpack_exports__Text as Cb, __webpack_exports__Block as Pb, __webpack_exports__update as WS, SimpleStateBehavior as VS, __webpack_exports__Inline as $u, __webpack_exports__FontLibrary as Jg, ThreeMeshUI as ey } from "./three-mesh-ui-D6Mz5Yl7.js";
|
|
@@ -1787,9 +1787,9 @@ po('if(!globalThis["NEEDLE_PROJECT_BUILD_TIME"]) globalThis["NEEDLE_PROJECT_BUIL
|
|
|
1787
1787
|
po('if(!globalThis["NEEDLE_PUBLIC_KEY"]) globalThis["NEEDLE_PUBLIC_KEY"] = "unknown";');
|
|
1788
1788
|
po('globalThis["__NEEDLE_ENGINE_VERSION__"] = "4.8.0-alpha";');
|
|
1789
1789
|
po('globalThis["__NEEDLE_ENGINE_GENERATOR__"] = "undefined";');
|
|
1790
|
-
po('globalThis["__NEEDLE_PROJECT_BUILD_TIME__"] = "Mon Aug 11 2025
|
|
1790
|
+
po('globalThis["__NEEDLE_PROJECT_BUILD_TIME__"] = "Mon Aug 11 2025 13:03:15 GMT+0000 (Coordinated Universal Time)";');
|
|
1791
1791
|
po('globalThis["__NEEDLE_PUBLIC_KEY__"] = "' + NEEDLE_PUBLIC_KEY + '";');
|
|
1792
|
-
const Ln = "4.8.0-alpha", wm = "undefined", Xb = "Mon Aug 11 2025
|
|
1792
|
+
const Ln = "4.8.0-alpha", wm = "undefined", Xb = "Mon Aug 11 2025 13:03:15 GMT+0000 (Coordinated Universal Time)";
|
|
1793
1793
|
qb && console.log(`Engine version: ${Ln} (generator: ${wm})
|
|
1794
1794
|
Project built at ${Xb}`);
|
|
1795
1795
|
const vl = NEEDLE_PUBLIC_KEY, ro = "needle_isActiveInHierarchy", jr = "builtin_components", Ph = "needle_editor_guid";
|
|
@@ -15240,7 +15240,7 @@ Could not find method ${r.method} on object ${l.name}`, l, typeof l[r.method]);
|
|
|
15240
15240
|
const f = new Ys(l, r.method, h, r.enabled);
|
|
15241
15241
|
i.push(f);
|
|
15242
15242
|
}
|
|
15243
|
-
} else L() && console.warn(
|
|
15243
|
+
} else L() && console.warn(`[Dev] EventList: Could not find event listener in scene (${t.object?.name})`, r);
|
|
15244
15244
|
}
|
|
15245
15245
|
const n = new ye(i);
|
|
15246
15246
|
dt && console.log(n);
|
|
@@ -20965,7 +20965,7 @@ class pM {
|
|
|
20965
20965
|
}
|
|
20966
20966
|
async function jp(s, e, t) {
|
|
20967
20967
|
const i = t.indexOf("?");
|
|
20968
|
-
i >= 0 && (t = t.substring(0, i)), s.register((n) => new sM(n)), s.register((n) => new dP(n)), s.register((n) => new $P(n, e.lightmaps, t)), s.register((n) => new oM(n, t, e)), s.register((n) => new dM(n, t)), s.register((n) => new Ks(n, t)), s.register((n) => new We(n
|
|
20968
|
+
i >= 0 && (t = t.substring(0, i)), s.register((n) => new sM(n)), s.register((n) => new dP(n)), s.register((n) => new $P(n, e.lightmaps, t)), s.register((n) => new oM(n, t, e)), s.register((n) => new dM(n, t)), s.register((n) => new Ks(n, t)), s.register((n) => new We(n)), s.register((n) => new eM(n)), z1() && s.register((n) => new Jr(n)), await fM.catch((n) => {
|
|
20969
20969
|
}), s.register((n) => {
|
|
20970
20970
|
if (fd) {
|
|
20971
20971
|
const o = new fd(n);
|