@needle-tools/engine 4.4.0-alpha.3 → 4.4.0-alpha.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.
Files changed (89) hide show
  1. package/CHANGELOG.md +22 -1
  2. package/dist/gltf-progressive.js +54 -54
  3. package/dist/gltf-progressive.light.js +54 -54
  4. package/dist/gltf-progressive.light.min.js +7 -7
  5. package/dist/gltf-progressive.min.js +7 -7
  6. package/dist/needle-engine.bundle.js +9120 -8879
  7. package/dist/needle-engine.bundle.light.js +9124 -8883
  8. package/dist/needle-engine.bundle.light.min.js +155 -142
  9. package/dist/needle-engine.bundle.light.umd.cjs +125 -112
  10. package/dist/needle-engine.bundle.min.js +155 -142
  11. package/dist/needle-engine.bundle.umd.cjs +127 -114
  12. package/dist/needle-engine.d.ts +9 -9
  13. package/dist/needle-engine.js +544 -543
  14. package/dist/needle-engine.light.js +544 -543
  15. package/dist/needle-engine.light.min.js +1 -1
  16. package/dist/needle-engine.light.umd.cjs +1 -1
  17. package/dist/needle-engine.min.js +1 -1
  18. package/dist/needle-engine.umd.cjs +1 -1
  19. package/dist/postprocessing.js +38 -38
  20. package/dist/postprocessing.light.js +38 -38
  21. package/dist/postprocessing.light.min.js +2 -2
  22. package/dist/postprocessing.min.js +2 -2
  23. package/dist/three-examples.js +1205 -1205
  24. package/dist/three-examples.light.js +1205 -1205
  25. package/dist/three-examples.light.min.js +15 -15
  26. package/dist/three-examples.min.js +15 -15
  27. package/dist/three-mesh-ui.js +9 -9
  28. package/dist/three-mesh-ui.light.js +9 -9
  29. package/dist/three-mesh-ui.light.min.js +9 -9
  30. package/dist/three-mesh-ui.min.js +9 -9
  31. package/dist/three.js +239 -238
  32. package/dist/three.light.js +239 -238
  33. package/dist/three.light.min.js +27 -27
  34. package/dist/three.light.umd.cjs +15 -15
  35. package/dist/three.min.js +27 -27
  36. package/dist/three.umd.cjs +15 -15
  37. package/dist/vendor.js +24 -24
  38. package/dist/vendor.light.js +24 -24
  39. package/dist/vendor.light.min.js +2 -2
  40. package/dist/vendor.min.js +2 -2
  41. package/lib/engine/engine_input.d.ts +7 -0
  42. package/lib/engine/engine_input.js +12 -0
  43. package/lib/engine/engine_input.js.map +1 -1
  44. package/lib/engine/engine_serialization_decorator.js +4 -0
  45. package/lib/engine/engine_serialization_decorator.js.map +1 -1
  46. package/lib/engine/engine_three_utils.d.ts +26 -1
  47. package/lib/engine/engine_three_utils.js +43 -0
  48. package/lib/engine/engine_three_utils.js.map +1 -1
  49. package/lib/engine/engine_utils_format.js +11 -5
  50. package/lib/engine/engine_utils_format.js.map +1 -1
  51. package/lib/engine/webcomponents/needle menu/needle-menu.d.ts +1 -0
  52. package/lib/engine/webcomponents/needle menu/needle-menu.js +3 -3
  53. package/lib/engine/webcomponents/needle menu/needle-menu.js.map +1 -1
  54. package/lib/engine-components/Camera.d.ts +2 -2
  55. package/lib/engine-components/Camera.js +4 -6
  56. package/lib/engine-components/Camera.js.map +1 -1
  57. package/lib/engine-components/CameraUtils.js +32 -13
  58. package/lib/engine-components/CameraUtils.js.map +1 -1
  59. package/lib/engine-components/Component.d.ts +4 -1
  60. package/lib/engine-components/Component.js +4 -1
  61. package/lib/engine-components/Component.js.map +1 -1
  62. package/lib/engine-components/ContactShadows.js +8 -2
  63. package/lib/engine-components/ContactShadows.js.map +1 -1
  64. package/lib/engine-components/OrbitControls.d.ts +3 -0
  65. package/lib/engine-components/OrbitControls.js +34 -10
  66. package/lib/engine-components/OrbitControls.js.map +1 -1
  67. package/lib/engine-components/SyncedTransform.d.ts +3 -2
  68. package/lib/engine-components/SyncedTransform.js +28 -18
  69. package/lib/engine-components/SyncedTransform.js.map +1 -1
  70. package/lib/engine-components/postprocessing/PostProcessingHandler.js +6 -2
  71. package/lib/engine-components/postprocessing/PostProcessingHandler.js.map +1 -1
  72. package/lib/engine-components/utils/EnvironmentScene.d.ts +5 -0
  73. package/lib/engine-components/utils/EnvironmentScene.js +206 -0
  74. package/lib/engine-components/utils/EnvironmentScene.js.map +1 -0
  75. package/package.json +1 -1
  76. package/src/engine/engine_input.ts +13 -0
  77. package/src/engine/engine_serialization_decorator.ts +4 -0
  78. package/src/engine/engine_three_utils.ts +52 -1
  79. package/src/engine/engine_utils_format.ts +13 -5
  80. package/src/engine/webcomponents/needle menu/needle-menu.ts +3 -3
  81. package/src/engine-components/Camera.ts +9 -6
  82. package/src/engine-components/CameraUtils.ts +35 -13
  83. package/src/engine-components/Component.ts +5 -2
  84. package/src/engine-components/ContactShadows.ts +8 -2
  85. package/src/engine-components/OrbitControls.ts +35 -10
  86. package/src/engine-components/SyncedTransform.ts +37 -25
  87. package/src/engine-components/postprocessing/PostProcessingHandler.ts +7 -2
  88. package/src/engine-components/utils/EnvironmentScene.ts +246 -0
  89. package/src/engine/webcomponents/needle menu/dist/needle-menu.js +0 -662
@@ -1,7 +1,7 @@
1
1
  var It = Object.defineProperty;
2
2
  var Ct = (i, e, t) => e in i ? It(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
3
3
  var I = (i, e, t) => (Ct(i, typeof e != "symbol" ? e + "" : e, t), t);
4
- import { ax as Rt, I as Bt, B as Ut, k as At, D as Tt, aw as Mt, ab as Ft, aq as Ot, b3 as Lt, M as zt, q as Wt, O as Et, Y as Dt, P as Ht, j as Gt, T as $t, a as Nt, f as Xt, V as jt, g as Yt } from "./three.js";
4
+ import { BackSide as Rt, BufferAttribute as Bt, BufferGeometry as Ut, Color as At, DoubleSide as Tt, EventDispatcher as Mt, FileLoader as Ft, FrontSide as Ot, LinearFilter as Lt, Mesh as zt, MeshBasicMaterial as Wt, Object3D as Et, Plane as Dt, PlaneGeometry as Ht, ShaderMaterial as Gt, Texture as $t, TextureLoader as Nt, Vector2 as Xt, Vector3 as jt, Vector4 as Yt } from "./three.js";
5
5
  var V = {};
6
6
  V.d = (i, e) => {
7
7
  for (var t in e)
@@ -6232,12 +6232,12 @@ class Tn extends St {
6232
6232
  }
6233
6233
  }
6234
6234
  export {
6235
- Tn as S,
6236
- An as T,
6237
- In as _,
6238
- Vn as a,
6239
- dn as b,
6240
- Cn as c,
6241
- mn as d,
6242
- fn as e
6235
+ Tn as SimpleStateBehavior,
6236
+ An as ThreeMeshUI,
6237
+ dn as __webpack_exports__Block,
6238
+ fn as __webpack_exports__FontLibrary,
6239
+ mn as __webpack_exports__Inline,
6240
+ Vn as __webpack_exports__Text,
6241
+ In as __webpack_exports__default,
6242
+ Cn as __webpack_exports__update
6243
6243
  };
@@ -1,7 +1,7 @@
1
1
  var It = Object.defineProperty;
2
2
  var Ct = (i, e, t) => e in i ? It(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
3
3
  var I = (i, e, t) => (Ct(i, typeof e != "symbol" ? e + "" : e, t), t);
4
- import { ax as Rt, I as Bt, B as Ut, k as At, D as Tt, aw as Mt, ab as Ft, aq as Ot, b3 as Lt, M as zt, q as Wt, O as Et, Y as Dt, P as Ht, j as Gt, T as $t, a as Nt, f as Xt, V as jt, g as Yt } from "./three.light.js";
4
+ import { BackSide as Rt, BufferAttribute as Bt, BufferGeometry as Ut, Color as At, DoubleSide as Tt, EventDispatcher as Mt, FileLoader as Ft, FrontSide as Ot, LinearFilter as Lt, Mesh as zt, MeshBasicMaterial as Wt, Object3D as Et, Plane as Dt, PlaneGeometry as Ht, ShaderMaterial as Gt, Texture as $t, TextureLoader as Nt, Vector2 as Xt, Vector3 as jt, Vector4 as Yt } from "./three.light.js";
5
5
  var V = {};
6
6
  V.d = (i, e) => {
7
7
  for (var t in e)
@@ -6232,12 +6232,12 @@ class Tn extends St {
6232
6232
  }
6233
6233
  }
6234
6234
  export {
6235
- Tn as S,
6236
- An as T,
6237
- In as _,
6238
- Vn as a,
6239
- dn as b,
6240
- Cn as c,
6241
- mn as d,
6242
- fn as e
6235
+ Tn as SimpleStateBehavior,
6236
+ An as ThreeMeshUI,
6237
+ dn as __webpack_exports__Block,
6238
+ fn as __webpack_exports__FontLibrary,
6239
+ mn as __webpack_exports__Inline,
6240
+ Vn as __webpack_exports__Text,
6241
+ In as __webpack_exports__default,
6242
+ Cn as __webpack_exports__update
6243
6243
  };