@needle-tools/engine 4.17.0-next.9367cd4 → 4.17.0-next.ca0e777
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-BryRjllq.min.js +10 -0
- package/dist/gltf-progressive-Cl167Vjx.js +1537 -0
- package/dist/gltf-progressive-DJBMx-zB.umd.cjs +10 -0
- package/dist/gltf-progressive.worker-BqODMeeW.js +23 -0
- package/dist/{needle-engine.bundle-B3ex0E4m.js → needle-engine.bundle-Cin-kyZ_.js} +8 -8
- package/dist/{needle-engine.bundle-BVgcWaGl.umd.cjs → needle-engine.bundle-DDZfnvgI.umd.cjs} +7 -7
- package/dist/{needle-engine.bundle-DJoYYWN-.min.js → needle-engine.bundle-Dl_Keq4m.min.js} +6 -6
- package/dist/needle-engine.d.ts +4 -1
- package/dist/needle-engine.js +3 -3
- package/dist/needle-engine.min.js +1 -1
- package/dist/needle-engine.umd.cjs +1 -1
- package/dist/three-examples.js +4302 -3315
- package/dist/three-examples.min.js +15 -13
- package/dist/three-examples.umd.cjs +14 -12
- package/dist/three.js +15994 -24892
- package/dist/three.min.js +214 -214
- package/dist/three.umd.cjs +208 -208
- package/dist/{vendor-9wyvw7Yk.js → vendor-BFFwhLCC.js} +900 -861
- package/dist/{vendor-BLeytgEr.umd.cjs → vendor-Csj7XHEr.umd.cjs} +19 -19
- package/dist/{vendor-DDo_PRrS.min.js → vendor-DUVka3vn.min.js} +19 -19
- package/lib/engine/engine_networking.d.ts +1 -0
- package/lib/engine/engine_networking.js +2 -0
- package/lib/engine/engine_networking.js.map +1 -1
- package/lib/engine-components/Networking.d.ts +2 -1
- package/lib/engine-components/Networking.js +2 -1
- package/lib/engine-components/Networking.js.map +1 -1
- package/lib/engine-components/SyncedRoom.d.ts +1 -0
- package/lib/engine-components/SyncedRoom.js +1 -0
- package/lib/engine-components/SyncedRoom.js.map +1 -1
- package/package.json +4 -1
- package/plugins/vite/ai.js +3 -5
- package/src/engine/engine_networking.ts +4 -0
- package/src/engine-components/Networking.ts +3 -1
- package/src/engine-components/SyncedRoom.ts +2 -0
- package/dist/gltf-progressive-BBIL1q1j.umd.cjs +0 -4022
- package/dist/gltf-progressive-BbHl9z0v.js +0 -28272
- package/dist/gltf-progressive-Clq_N7Zx.min.js +0 -4022
- package/dist/gltf-progressive.worker-CCrD-Ycm.js +0 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Vector2 as Z, Vector3 as _, Vector4 as ye, Quaternion as V, Box3 as Ut, ShadowMaterial as Ov, Euler as dt, PlaneGeometry as kn, WebGLRenderer as zr, PerspectiveCamera as de, OrthographicCamera as bu, Scene as Ki, Mesh as H, Texture as xe, Uniform$1 as Xi, Color as re, ShaderMaterial as Qn, MeshStandardMaterial as gt, Box3Helper as gS, GridHelper as Mv, Object3D as M, Material as be, Matrix3 as Rv, Matrix4 as ee, Layers as Po, PropertyBinding as za, AnimationClip as Mi, KeyframeTrack as yS, FileLoader as Ev, BufferGeometry as Yi, TextureLoader as Mr, MeshBasicMaterial as Se, DoubleSide as Ei, Group as ks, CylinderGeometry as Tv, SphereGeometry as vu, BoxGeometry as Ua, SpriteMaterial as _S, Sprite as bS, Shape as vS, ExtrudeGeometry as wS, Ray as Is, CubeUVReflectionMapping as Ls, LinearSRGBColorSpace as Ds, ShaderChunk as ei, Sphere as wu, DataTexture as og, RGBAFormat as xu, EquirectangularReflectionMapping as Os, SRGBColorSpace as js, Clock as xS, NeutralToneMapping as Na, AgXToneMapping as Su, ACESFilmicToneMapping as Cu, NoToneMapping as Bd, PCFSoftShadowMap$1 as SS, BasicNodeLibrary as CS, WebGLRenderTarget as Yn, DepthTexture as Av, NearestFilter as Fd, AxesHelper as Ri, MathUtils as Ms, Fog as Iv, DirectionalLight as Xp, PointLight as rg, EdgesGeometry as PS, LineSegments as Qp, LineBasicMaterial as zd, Line as $a, BufferAttribute as tt, Raycaster as Pu, ArrayCamera as kS, Plane as Rr, SkinnedMesh as vo, InterleavedBufferAttribute as Lv, Skeleton as OS, Bone as MS, WebGLCubeRenderTarget as RS, CubeCamera as ES, LoopRepeat as TS, LoopOnce as Yp, AnimationMixer as ag, CompressedTexture as AS, FrontSide as ko, Camera as IS, Frustum as Gy, AudioListener as LS, PositionalAudio as DS, AudioLoader as Kp, VectorKeyframeTrack as jS, QuaternionKeyframeTrack as BS, Audio as FS, BackSide as ku, PMREMGenerator$1 as zS, EquirectangularRefractionMapping as Dv, CubeTexture as jv, CompressedCubeTexture as US, EventDispatcher as lg, MeshDepthMaterial as NS, CustomBlending as $S, MaxEquation as WS, AlwaysStencilFunc as VS, GreaterEqualStencilFunc as HS, NotEqualStencilFunc as GS, GreaterStencilFunc as qS, LessEqualStencilFunc as XS, EqualStencilFunc as QS, LessStencilFunc as YS, NeverStencilFunc as qy, InvertStencilOp as KS, DecrementWrapStencilOp as ZS, IncrementWrapStencilOp as JS, DecrementStencilOp as eC, IncrementStencilOp as tC, ReplaceStencilOp as iC, ZeroStencilOp as nC, KeepStencilOp as sC, AmbientLight as oC, HemisphereLight as rC, Loader as aC, GLSL3 as lC, AlwaysDepth as cC, GreaterEqualDepth as hC, GreaterDepth as dC, LessEqualDepth as uC, LessDepth as fC, NotEqualDepth as pC, EqualDepth as mC, RawShaderMaterial as Bv, BatchedMesh as Xy, LinearFilter as Ud, UnsignedByteType as gC, MeshPhysicalMaterial as Qy, RingGeometry as yC, Line3 as _C, AdditiveBlending as Fv, BoxHelper as bC, SpotLight as vC, DirectionalLightHelper as wC, CameraHelper as xC, LOD as SC, Triangle as CC, NormalBlending as PC, ReinhardToneMapping as cg, LinearToneMapping as hg, HalfFloatType as jf, Source as kC, VideoTexture as OC, CatmullRomCurve3 as MC, MirroredRepeatWrapping as Yy, ShaderLib as Nd, UniformsUtils as zv, MeshNormalMaterial as RC, AudioContext as EC } from "./three.js";
|
|
2
|
-
import { createLoaders as dg, LODsManager as Jo, NEEDLE_progressive as Ve, getRaycastMesh as Uv, addDracoAndKTX2Loaders as TC, configureLoader as AC, setKTX2TranscoderLocation as IC, setDracoDecoderLocation as LC } from "./gltf-progressive-
|
|
2
|
+
import { createLoaders as dg, LODsManager as Jo, NEEDLE_progressive as Ve, getRaycastMesh as Uv, addDracoAndKTX2Loaders as TC, configureLoader as AC, setKTX2TranscoderLocation as IC, setDracoDecoderLocation as LC } from "./gltf-progressive-Cl167Vjx.js";
|
|
3
3
|
import { GroundedSkybox as Wa, Font as DC, TextGeometry as jC, FontLoader as BC, GLTFLoader as Bs, EXRLoader as ug, RGBELoader as Nv, Stats as FC, nodeFrame as Ky, TransformControlsGizmo as Zy, OrbitControls as zC, PositionalAudioHelper as UC, HorizontalBlurShader as NC, VerticalBlurShader as $C, GLTFExporter as $v, strToU8 as Wv, zipSync as WC, XRControllerModelFactory as VC, XRHandMeshModel as HC, Line2 as GC, LineGeometry as qC, LineMaterial as XC, TransformControls as QC, InteractiveGroup as YC, HTMLMesh as KC, VertexNormalsHelper as ZC, OBJLoader as fg, FBXLoader as Vv, mergeVertices as JC } from "./three-examples.js";
|
|
4
|
-
import { md5 as Jy, v5 as e_, ByteBuffer as e1, fetchProfile as t1, MotionController as i1, SIZE_PREFIX_LENGTH as Hv, Builder as pg, createNoise4D as n1, Matrix4 as Bf, BatchedParticleRenderer as s1, ParticleSystem as o1, RenderMode as ms, ConstantColor as r1, Vector4 as a1, ConstantValue as l1, TrailParticle as t_, WorkerBase as c1, MeshBVH as h1 } from "./vendor-
|
|
4
|
+
import { md5 as Jy, v5 as e_, ByteBuffer as e1, fetchProfile as t1, MotionController as i1, SIZE_PREFIX_LENGTH as Hv, Builder as pg, createNoise4D as n1, Matrix4 as Bf, BatchedParticleRenderer as s1, ParticleSystem as o1, RenderMode as ms, ConstantColor as r1, Vector4 as a1, ConstantValue as l1, TrailParticle as t_, WorkerBase as c1, MeshBVH as h1 } from "./vendor-BFFwhLCC.js";
|
|
5
5
|
import { __webpack_exports__default as Pe, __webpack_exports__Text as Gv, __webpack_exports__update as d1, __webpack_exports__Block as qv, SimpleStateBehavior as u1, __webpack_exports__Inline as Ff, __webpack_exports__FontLibrary as i_, ThreeMeshUI as n_ } from "./three-mesh-ui-B-lqrZWj.js";
|
|
6
6
|
import { EffectAttribute as f1 } from "./postprocessing-WDc9WwI3.js";
|
|
7
7
|
const s_ = typeof window !== void 0 ? window.location.search.includes("debugcontext") : !1;
|
|
@@ -2246,9 +2246,9 @@ To('if(!globalThis["NEEDLE_PROJECT_BUILD_TIME"]) globalThis["NEEDLE_PROJECT_BUIL
|
|
|
2246
2246
|
To('if(!globalThis["NEEDLE_PUBLIC_KEY"]) globalThis["NEEDLE_PUBLIC_KEY"] = "unknown";');
|
|
2247
2247
|
To('globalThis["__NEEDLE_ENGINE_VERSION__"] = "4.17.0-alpha.7";');
|
|
2248
2248
|
To('globalThis["__NEEDLE_ENGINE_GENERATOR__"] = "undefined";');
|
|
2249
|
-
To('globalThis["__NEEDLE_PROJECT_BUILD_TIME__"] = "Thu Mar 26 2026
|
|
2249
|
+
To('globalThis["__NEEDLE_PROJECT_BUILD_TIME__"] = "Thu Mar 26 2026 15:21:24 GMT+0000 (Coordinated Universal Time)";');
|
|
2250
2250
|
To('globalThis["__NEEDLE_PUBLIC_KEY__"] = "' + NEEDLE_PUBLIC_KEY + '";');
|
|
2251
|
-
const Pi = "4.17.0-alpha.7", Ic = "undefined", Gd = "Thu Mar 26 2026
|
|
2251
|
+
const Pi = "4.17.0-alpha.7", Ic = "undefined", Gd = "Thu Mar 26 2026 15:21:24 GMT+0000 (Coordinated Universal Time)";
|
|
2252
2252
|
y0 && console.log(`Engine version: ${Pi} (generator: ${Ic})
|
|
2253
2253
|
Project built at ${Gd}`);
|
|
2254
2254
|
const yr = NEEDLE_PUBLIC_KEY, ws = "needle_isActiveInHierarchy", ua = "builtin_components", md = "needle_editor_guid";
|
|
@@ -5383,7 +5383,7 @@ const A = {
|
|
|
5383
5383
|
() => import("./postprocessing-WDc9WwI3.js").then((s) => s.N8AO)
|
|
5384
5384
|
),
|
|
5385
5385
|
PEERJS: Il(
|
|
5386
|
-
() => import("./vendor-
|
|
5386
|
+
() => import("./vendor-BFFwhLCC.js").then((s) => s.bundler)
|
|
5387
5387
|
)
|
|
5388
5388
|
};
|
|
5389
5389
|
let Mg;
|
|
@@ -5884,7 +5884,7 @@ class Hk {
|
|
|
5884
5884
|
}
|
|
5885
5885
|
console.debug(`Connecting to networking backend on
|
|
5886
5886
|
` + zi);
|
|
5887
|
-
const o = await import("./vendor-
|
|
5887
|
+
const o = await import("./vendor-BFFwhLCC.js").then((c) => c.index), r = o.default?.WebsocketBuilder ?? o.WebsocketBuilder, a = o.default?.ExponentialBackoff ?? o.ExponentialBackoff, l = new r(zi).withMaxRetries(10).withBackoff(new a(2e3, 4)).onOpen(() => {
|
|
5888
5888
|
this._connectingToWebsocketPromise = null, this._ws = l, this.connected = !0, L() || bi ? console.log(`Connected to networking backend
|
|
5889
5889
|
` + zi) : console.debug("Connected to networking backend", zi), n(!0), this.onSendQueued(Un.OnConnection);
|
|
5890
5890
|
}).onClose((c) => {
|
|
@@ -11907,7 +11907,7 @@ var Jd;
|
|
|
11907
11907
|
s.runMeshBVHRaycast = t;
|
|
11908
11908
|
let i = !1, n = null, o = null, r = null, a = null;
|
|
11909
11909
|
function l() {
|
|
11910
|
-
i || (i = !0, import("./vendor-
|
|
11910
|
+
i || (i = !0, import("./vendor-BFFwhLCC.js").then((b) => b.index$1).then((b) => {
|
|
11911
11911
|
n = b.acceleratedRaycast, o = b.MeshBVH, r = b.StaticGeometryGenerator, a = b.computeBoundsTree;
|
|
11912
11912
|
}).catch((b) => {
|
|
11913
11913
|
(Zt || L()) && console.error("Failed to load BVH library...", b.message);
|
|
@@ -24560,7 +24560,7 @@ function zw(s) {
|
|
|
24560
24560
|
}
|
|
24561
24561
|
const RE = x("debugextensions");
|
|
24562
24562
|
let hu;
|
|
24563
|
-
const EE = import("./vendor-
|
|
24563
|
+
const EE = import("./vendor-BFFwhLCC.js").then((s) => s.index$2).then(async (s) => (hu = s.GLTFAnimationPointerExtension, hu)).catch((s) => {
|
|
24564
24564
|
console.warn("Failed to import GLTFLoaderAnimationPointer. Please use @needle-tools/three-animationpointer for full KHR_animation support", s);
|
|
24565
24565
|
}), Ir = new Array();
|
|
24566
24566
|
function L2(s) {
|