angular-three-soba 2.0.0-beta.26 → 2.0.0-beta.28

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 (103) hide show
  1. package/controls/orbit-controls/orbit-controls.d.ts +1 -1
  2. package/esm2022/abstractions/billboard/billboard.mjs +3 -3
  3. package/esm2022/abstractions/detailed/detailed.mjs +3 -3
  4. package/esm2022/abstractions/edges/edges.mjs +3 -3
  5. package/esm2022/abstractions/grid/grid.mjs +3 -3
  6. package/esm2022/abstractions/text/text.mjs +3 -3
  7. package/esm2022/abstractions/text-3d/text-3d.mjs +3 -3
  8. package/esm2022/cameras/camera/camera-content.mjs +3 -3
  9. package/esm2022/cameras/camera/camera.mjs +3 -3
  10. package/esm2022/cameras/cube-camera/cube-camera.mjs +9 -9
  11. package/esm2022/cameras/orthographic-camera/orthographic-camera.mjs +3 -3
  12. package/esm2022/cameras/perspective-camera/perspective-camera.mjs +3 -3
  13. package/esm2022/controls/orbit-controls/orbit-controls.mjs +10 -6
  14. package/esm2022/gizmos/gizmo-helper/gizmo-helper.mjs +3 -3
  15. package/esm2022/gizmos/gizmo-helper/gizmo-viewcube/gizmo-viewcube-edge.mjs +3 -3
  16. package/esm2022/gizmos/gizmo-helper/gizmo-viewcube/gizmo-viewcube-face.mjs +6 -6
  17. package/esm2022/gizmos/gizmo-helper/gizmo-viewcube/gizmo-viewcube-input.mjs +3 -3
  18. package/esm2022/gizmos/gizmo-helper/gizmo-viewcube/gizmo-viewcube.mjs +3 -3
  19. package/esm2022/gizmos/gizmo-helper/gizmo-viewport/gizmo-viewport-axis.mjs +6 -6
  20. package/esm2022/gizmos/gizmo-helper/gizmo-viewport/gizmo-viewport.mjs +3 -3
  21. package/esm2022/loaders/gltf-loader/gltf-loader.mjs +6 -2
  22. package/esm2022/loaders/loader/loader.mjs +3 -3
  23. package/esm2022/loaders/progress/progress.mjs +3 -3
  24. package/esm2022/loaders/texture-loader/texture-loader.mjs +3 -3
  25. package/esm2022/materials/mesh-distort-material/mesh-distort-material.mjs +3 -3
  26. package/esm2022/materials/mesh-reflector-material/mesh-reflector-material.mjs +3 -3
  27. package/esm2022/materials/mesh-refraction-material/mesh-refraction-material.mjs +3 -3
  28. package/esm2022/materials/mesh-transmission-material/mesh-transmission-material.mjs +3 -3
  29. package/esm2022/materials/mesh-wobble-material/mesh-wobble-material.mjs +3 -3
  30. package/esm2022/materials/point-material/point-material.mjs +3 -3
  31. package/esm2022/misc/animations/animations.mjs +3 -3
  32. package/esm2022/misc/bake-shadows/bake-shadows.mjs +3 -3
  33. package/esm2022/misc/caustics/caustics.mjs +3 -3
  34. package/esm2022/misc/decal/decal.mjs +3 -3
  35. package/esm2022/misc/depth-buffer/depth-buffer.mjs +3 -3
  36. package/esm2022/misc/example/example.mjs +3 -3
  37. package/esm2022/misc/fbo/fbo.mjs +3 -3
  38. package/esm2022/misc/html/html-wrapper.mjs +3 -3
  39. package/esm2022/misc/html/html.mjs +3 -3
  40. package/esm2022/misc/sampler/sampler.mjs +6 -6
  41. package/esm2022/misc/shadow/shadow.mjs +3 -3
  42. package/esm2022/misc/stats-gl/stats-gl.mjs +3 -3
  43. package/esm2022/misc/trail/trail.mjs +6 -6
  44. package/esm2022/misc/trail-texture/inject-trail-texture.mjs +3 -3
  45. package/esm2022/modifiers/curve-modifier/curve-modifier.mjs +3 -3
  46. package/esm2022/performances/adaptive-dpr/adaptive-dpr.mjs +3 -3
  47. package/esm2022/performances/adaptive-events/adaptive-events.mjs +3 -3
  48. package/esm2022/performances/instances/instances.mjs +6 -6
  49. package/esm2022/performances/points/points-input.mjs +3 -3
  50. package/esm2022/performances/points/points.mjs +12 -12
  51. package/esm2022/performances/segments/segments.mjs +6 -6
  52. package/esm2022/shaders/wireframe-material/wireframe-material.mjs +3 -3
  53. package/esm2022/staging/accumulative-shadows/accumulative-shadows.mjs +3 -3
  54. package/esm2022/staging/accumulative-shadows/progressive-light-map.mjs +8 -8
  55. package/esm2022/staging/accumulative-shadows/randomized-lights.mjs +5 -5
  56. package/esm2022/staging/backdrop/backdrop.mjs +3 -3
  57. package/esm2022/staging/bb-anchor/bb-anchor.mjs +6 -6
  58. package/esm2022/staging/bounds/bounds.mjs +3 -3
  59. package/esm2022/staging/camera-shake/camera-shake.mjs +3 -3
  60. package/esm2022/staging/center/center.mjs +3 -3
  61. package/esm2022/staging/cloud/cloud.mjs +3 -3
  62. package/esm2022/staging/contact-shadows/contact-shadows.mjs +3 -3
  63. package/esm2022/staging/environment/environment-cube.mjs +3 -3
  64. package/esm2022/staging/environment/environment-ground.mjs +3 -3
  65. package/esm2022/staging/environment/environment-input.mjs +3 -3
  66. package/esm2022/staging/environment/environment-map.mjs +3 -3
  67. package/esm2022/staging/environment/environment-portal.mjs +3 -3
  68. package/esm2022/staging/environment/environment.mjs +3 -3
  69. package/esm2022/staging/environment/utils.mjs +3 -3
  70. package/esm2022/staging/float/float.mjs +3 -3
  71. package/esm2022/staging/matcap-texture/matcap-texture.mjs +3 -3
  72. package/esm2022/staging/normal-texture/normal-texture.mjs +3 -3
  73. package/esm2022/staging/sky/sky.mjs +3 -3
  74. package/esm2022/staging/sparkles/sparkles.mjs +3 -3
  75. package/esm2022/staging/spot-light/shadow-mesh-input.mjs +3 -3
  76. package/esm2022/staging/spot-light/shadow-mesh.mjs +12 -12
  77. package/esm2022/staging/spot-light/spot-light-input.mjs +3 -3
  78. package/esm2022/staging/spot-light/spot-light.mjs +3 -3
  79. package/esm2022/staging/spot-light/volumetric-mesh.mjs +3 -3
  80. package/esm2022/staging/stage/stage.mjs +6 -6
  81. package/esm2022/staging/stars/stars.mjs +3 -3
  82. package/esm2022/staging/wireframe/wireframe-input.mjs +3 -3
  83. package/esm2022/staging/wireframe/wireframe.mjs +9 -9
  84. package/esm2022/utils/content/content.mjs +3 -3
  85. package/fesm2022/angular-three-soba-abstractions.mjs +18 -18
  86. package/fesm2022/angular-three-soba-cameras.mjs +20 -20
  87. package/fesm2022/angular-three-soba-cameras.mjs.map +1 -1
  88. package/fesm2022/angular-three-soba-controls.mjs +9 -5
  89. package/fesm2022/angular-three-soba-controls.mjs.map +1 -1
  90. package/fesm2022/angular-three-soba-gizmos.mjs +27 -27
  91. package/fesm2022/angular-three-soba-loaders.mjs +11 -7
  92. package/fesm2022/angular-three-soba-loaders.mjs.map +1 -1
  93. package/fesm2022/angular-three-soba-materials.mjs +18 -18
  94. package/fesm2022/angular-three-soba-misc.mjs +37 -37
  95. package/fesm2022/angular-three-soba-misc.mjs.map +1 -1
  96. package/fesm2022/angular-three-soba-modifiers.mjs +3 -3
  97. package/fesm2022/angular-three-soba-performances.mjs +33 -33
  98. package/fesm2022/angular-three-soba-shaders.mjs +2 -2
  99. package/fesm2022/angular-three-soba-shaders.mjs.map +1 -1
  100. package/fesm2022/angular-three-soba-staging.mjs +111 -111
  101. package/fesm2022/angular-three-soba-staging.mjs.map +1 -1
  102. package/fesm2022/angular-three-soba-utils.mjs +3 -3
  103. package/package.json +7 -7
@@ -32,8 +32,8 @@ class NgtsCurveModifier {
32
32
  moveAlongCurve(value) {
33
33
  this.modifier?.moveAlongCurve(value);
34
34
  }
35
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtsCurveModifier, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
36
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.2", type: NgtsCurveModifier, isStandalone: true, selector: "ngts-curve-modifier", inputs: { _curve: ["curve", "_curve"] }, ngImport: i0, template: `
35
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: NgtsCurveModifier, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
36
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.3", type: NgtsCurveModifier, isStandalone: true, selector: "ngts-curve-modifier", inputs: { _curve: ["curve", "_curve"] }, ngImport: i0, template: `
37
37
  <ngt-portal [container]="sceneRef" [autoRender]="false">
38
38
  <ng-template ngtPortalContent>
39
39
  <ng-content />
@@ -42,7 +42,7 @@ class NgtsCurveModifier {
42
42
  <ngt-primitive *args="[modifierObject()]" />
43
43
  `, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }, { kind: "component", type: NgtPortal, selector: "ngt-portal", inputs: ["container", "state", "autoRender", "autoRenderPriority"], outputs: ["beforeRender"] }, { kind: "directive", type: NgtPortalContent, selector: "ng-template[ngtPortalContent]" }] }); }
44
44
  }
45
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtsCurveModifier, decorators: [{
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: NgtsCurveModifier, decorators: [{
46
46
  type: Component,
47
47
  args: [{
48
48
  selector: 'ngts-curve-modifier',
@@ -37,10 +37,10 @@ class NgtsAdaptiveDpr {
37
37
  }
38
38
  });
39
39
  }
40
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtsAdaptiveDpr, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
41
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.2", type: NgtsAdaptiveDpr, isStandalone: true, selector: "ngts-adaptive-dpr", inputs: { _pixelated: ["pixelated", "_pixelated"] }, ngImport: i0 }); }
40
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: NgtsAdaptiveDpr, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
41
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.3", type: NgtsAdaptiveDpr, isStandalone: true, selector: "ngts-adaptive-dpr", inputs: { _pixelated: ["pixelated", "_pixelated"] }, ngImport: i0 }); }
42
42
  }
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtsAdaptiveDpr, decorators: [{
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: NgtsAdaptiveDpr, decorators: [{
44
44
  type: Directive,
45
45
  args: [{ selector: 'ngts-adaptive-dpr', standalone: true }]
46
46
  }], ctorParameters: function () { return []; }, propDecorators: { _pixelated: [{
@@ -64,10 +64,10 @@ class NgtsAdaptiveEvents {
64
64
  this.setEvents({ enabled: current === 1 });
65
65
  });
66
66
  }
67
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtsAdaptiveEvents, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
68
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.2", type: NgtsAdaptiveEvents, isStandalone: true, selector: "ngts-adaptive-events", ngImport: i0 }); }
67
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: NgtsAdaptiveEvents, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
68
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.3", type: NgtsAdaptiveEvents, isStandalone: true, selector: "ngts-adaptive-events", ngImport: i0 }); }
69
69
  }
70
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtsAdaptiveEvents, decorators: [{
70
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: NgtsAdaptiveEvents, decorators: [{
71
71
  type: Directive,
72
72
  args: [{ selector: 'ngts-adaptive-events', standalone: true }]
73
73
  }], ctorParameters: function () { return []; } });
@@ -143,8 +143,8 @@ class NgtsInstance {
143
143
  onCleanup(cleanup);
144
144
  }, { injector: this.injector });
145
145
  }
146
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtsInstance, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
147
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.2", type: NgtsInstance, isStandalone: true, selector: "ngts-instance", inputs: { instanceRef: "instanceRef" }, ngImport: i0, template: `
146
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: NgtsInstance, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
147
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.3", type: NgtsInstance, isStandalone: true, selector: "ngts-instance", inputs: { instanceRef: "instanceRef" }, ngImport: i0, template: `
148
148
  <ngt-position-mesh
149
149
  [ref]="instanceRef"
150
150
  [instance]="instancesApi.getParent()"
@@ -155,7 +155,7 @@ class NgtsInstance {
155
155
  </ngt-position-mesh>
156
156
  `, isInline: true }); }
157
157
  }
158
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtsInstance, decorators: [{
158
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: NgtsInstance, decorators: [{
159
159
  type: Component,
160
160
  args: [{
161
161
  selector: 'ngts-instance',
@@ -265,8 +265,8 @@ class NgtsInstances {
265
265
  }
266
266
  });
267
267
  }
268
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtsInstances, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
269
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.2", type: NgtsInstances, isStandalone: true, selector: "ngts-instances", inputs: { instancesRef: "instancesRef", _range: ["range", "_range"], _limit: ["limit", "_limit"], _frames: ["frames", "_frames"] }, providers: [provideNgtsInstancesApi()], queries: [{ propertyName: "content", first: true, predicate: NgtsSobaContent, descendants: true, read: TemplateRef, static: true }], ngImport: i0, template: `
268
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: NgtsInstances, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
269
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.3", type: NgtsInstances, isStandalone: true, selector: "ngts-instances", inputs: { instancesRef: "instancesRef", _range: ["range", "_range"], _limit: ["limit", "_limit"], _frames: ["frames", "_frames"] }, providers: [provideNgtsInstancesApi()], queries: [{ propertyName: "content", first: true, predicate: NgtsSobaContent, descendants: true, read: TemplateRef, static: true }], ngImport: i0, template: `
270
270
  <ngt-instanced-mesh
271
271
  [userData]="{ instances: meshes() }"
272
272
  [ref]="instancesRef"
@@ -288,7 +288,7 @@ class NgtsInstances {
288
288
  </ngt-instanced-mesh>
289
289
  `, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
290
290
  }
291
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtsInstances, decorators: [{
291
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: NgtsInstances, decorators: [{
292
292
  type: Component,
293
293
  args: [{
294
294
  selector: 'ngts-instances',
@@ -368,10 +368,10 @@ class NgtsPointsInput {
368
368
  set _stride(stride) {
369
369
  this.inputs.set({ stride });
370
370
  }
371
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtsPointsInput, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
372
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.2", type: NgtsPointsInput, inputs: { pointsRef: "pointsRef", _range: ["range", "_range"], _limit: ["limit", "_limit"], _positions: ["positions", "_positions"], _colors: ["colors", "_colors"], _sizes: ["sizes", "_sizes"], _stride: ["stride", "_stride"] }, ngImport: i0 }); }
371
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: NgtsPointsInput, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
372
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.3", type: NgtsPointsInput, inputs: { pointsRef: "pointsRef", _range: ["range", "_range"], _limit: ["limit", "_limit"], _positions: ["positions", "_positions"], _colors: ["colors", "_colors"], _sizes: ["sizes", "_sizes"], _stride: ["stride", "_stride"] }, ngImport: i0 }); }
373
373
  }
374
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtsPointsInput, decorators: [{
374
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: NgtsPointsInput, decorators: [{
375
375
  type: Directive
376
376
  }], propDecorators: { pointsRef: [{
377
377
  type: Input
@@ -521,8 +521,8 @@ class NgtsPointsInstances {
521
521
  }
522
522
  });
523
523
  }
524
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtsPointsInstances, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
525
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.2", type: NgtsPointsInstances, isStandalone: true, selector: "ngts-points-instances", providers: [provideNgtsPointsInstancesApi()], ngImport: i0, template: `
524
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: NgtsPointsInstances, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
525
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.3", type: NgtsPointsInstances, isStandalone: true, selector: "ngts-points-instances", providers: [provideNgtsPointsInstancesApi()], ngImport: i0, template: `
526
526
  <ngt-points
527
527
  [ref]="pointsInput.pointsRef"
528
528
  [userData]="{ instances: points() }"
@@ -557,7 +557,7 @@ class NgtsPointsInstances {
557
557
  </ngt-points>
558
558
  `, isInline: true }); }
559
559
  }
560
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtsPointsInstances, decorators: [{
560
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: NgtsPointsInstances, decorators: [{
561
561
  type: Component,
562
562
  args: [{
563
563
  selector: 'ngts-points-instances',
@@ -613,8 +613,8 @@ class NgtsPoint {
613
613
  onCleanup(cleanup);
614
614
  }, { injector: this.injector });
615
615
  }
616
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtsPoint, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
617
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.2", type: NgtsPoint, isStandalone: true, selector: "ngts-point", inputs: { pointRef: "pointRef" }, ngImport: i0, template: `
616
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: NgtsPoint, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
617
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.3", type: NgtsPoint, isStandalone: true, selector: "ngts-point", inputs: { pointRef: "pointRef" }, ngImport: i0, template: `
618
618
  <ngt-position-point
619
619
  [instance]="pointsInstancesApi.getParent()"
620
620
  [ref]="pointRef"
@@ -625,7 +625,7 @@ class NgtsPoint {
625
625
  </ngt-position-point>
626
626
  `, isInline: true }); }
627
627
  }
628
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtsPoint, decorators: [{
628
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: NgtsPoint, decorators: [{
629
629
  type: Component,
630
630
  args: [{
631
631
  selector: 'ngts-point',
@@ -663,8 +663,8 @@ class NgtsPointsBuffers {
663
663
  checkUpdate(attr['size']);
664
664
  });
665
665
  }
666
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtsPointsBuffers, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
667
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.2", type: NgtsPointsBuffers, isStandalone: true, selector: "ngts-points-buffers", ngImport: i0, template: `
666
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: NgtsPointsBuffers, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
667
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.3", type: NgtsPointsBuffers, isStandalone: true, selector: "ngts-points-buffers", ngImport: i0, template: `
668
668
  <ngt-points [ref]="pointsInput.pointsRef" ngtCompound>
669
669
  <ngt-buffer-geometry>
670
670
  <ngt-buffer-attribute
@@ -693,7 +693,7 @@ class NgtsPointsBuffers {
693
693
  </ngt-points>
694
694
  `, isInline: true }); }
695
695
  }
696
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtsPointsBuffers, decorators: [{
696
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: NgtsPointsBuffers, decorators: [{
697
697
  type: Component,
698
698
  args: [{
699
699
  selector: 'ngts-points-buffers',
@@ -730,8 +730,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.2", ngImpor
730
730
  }]
731
731
  }], ctorParameters: function () { return []; } });
732
732
  class NgtsPoints extends NgtsPointsInput {
733
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtsPoints, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
734
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.2", type: NgtsPoints, isStandalone: true, selector: "ngts-points", providers: [{ provide: NgtsPointsInput, useExisting: NgtsPoints }], queries: [{ propertyName: "content", first: true, predicate: NgtsSobaContent, descendants: true, read: TemplateRef, static: true }], usesInheritance: true, ngImport: i0, template: `
733
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: NgtsPoints, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
734
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.3", type: NgtsPoints, isStandalone: true, selector: "ngts-points", providers: [{ provide: NgtsPointsInput, useExisting: NgtsPoints }], queries: [{ propertyName: "content", first: true, predicate: NgtsSobaContent, descendants: true, read: TemplateRef, static: true }], usesInheritance: true, ngImport: i0, template: `
735
735
  <ngts-points-buffers *ngIf="positions()">
736
736
  <ng-container *ngTemplateOutlet="content" />
737
737
  </ngts-points-buffers>
@@ -741,7 +741,7 @@ class NgtsPoints extends NgtsPointsInput {
741
741
  </ngts-points-instances>
742
742
  `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: NgtsPointsBuffers, selector: "ngts-points-buffers" }, { kind: "component", type: NgtsPointsInstances, selector: "ngts-points-instances" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
743
743
  }
744
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtsPoints, decorators: [{
744
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: NgtsPoints, decorators: [{
745
745
  type: Component,
746
746
  args: [{
747
747
  selector: 'ngts-points',
@@ -808,12 +808,12 @@ class NgtsSegment {
808
808
  onCleanup(cleanup);
809
809
  }, { injector: this.injector });
810
810
  }
811
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtsSegment, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
812
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.2", type: NgtsSegment, isStandalone: true, selector: "ngts-segment", inputs: { segmentRef: "segmentRef", _start: ["start", "_start"], _end: ["end", "_end"], _color: ["color", "_color"] }, ngImport: i0, template: `
811
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: NgtsSegment, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
812
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.3", type: NgtsSegment, isStandalone: true, selector: "ngts-segment", inputs: { segmentRef: "segmentRef", _start: ["start", "_start"], _end: ["end", "_end"], _color: ["color", "_color"] }, ngImport: i0, template: `
813
813
  <ngt-segment-object [ref]="segmentRef" [color]="color()" [start]="normalizedStart()" [end]="normalizedEnd()" />
814
814
  `, isInline: true }); }
815
815
  }
816
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtsSegment, decorators: [{
816
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: NgtsSegment, decorators: [{
817
817
  type: Component,
818
818
  args: [{
819
819
  selector: 'ngts-segment',
@@ -899,8 +899,8 @@ class NgtsSegments {
899
899
  this.line.computeLineDistances();
900
900
  });
901
901
  }
902
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtsSegments, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
903
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.2", type: NgtsSegments, isStandalone: true, selector: "ngts-segments", inputs: { segmentsRef: "segmentsRef", _limit: ["limit", "_limit"], _lineWidth: ["lineWidth", "_lineWidth"] }, providers: [provideNgtsSegmentsApi()], ngImport: i0, template: `
902
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: NgtsSegments, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
903
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.3", type: NgtsSegments, isStandalone: true, selector: "ngts-segments", inputs: { segmentsRef: "segmentsRef", _limit: ["limit", "_limit"], _lineWidth: ["lineWidth", "_lineWidth"] }, providers: [provideNgtsSegmentsApi()], ngImport: i0, template: `
904
904
  <ngt-primitive *args="[line]" [ref]="segmentsRef">
905
905
  <ngt-primitive *args="[geometry]" attach="geometry" />
906
906
  <ngt-primitive
@@ -915,7 +915,7 @@ class NgtsSegments {
915
915
  </ngt-primitive>
916
916
  `, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }] }); }
917
917
  }
918
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: NgtsSegments, decorators: [{
918
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.3", ngImport: i0, type: NgtsSegments, decorators: [{
919
919
  type: Component,
920
920
  args: [{
921
921
  selector: 'ngts-segments',
@@ -2,7 +2,7 @@ import * as THREE from 'three';
2
2
  import { ShaderMaterial, Uniform, Vector2, NoBlending, WebGLRenderTarget, LinearFilter, HalfFloatType, Scene, PerspectiveCamera, BufferGeometry, BufferAttribute, Mesh, MeshStandardMaterial } from 'three';
3
3
  import { InjectionToken, inject, runInInjectionContext, computed, effect } from '@angular/core';
4
4
  import { MeshBVHUniformStruct, shaderStructs, shaderIntersectFunction } from 'three-mesh-bvh';
5
- import { assertInjectionContext } from 'angular-three';
5
+ import { assertInjector } from 'angular-three';
6
6
 
7
7
  class ConvolutionMaterial extends ShaderMaterial {
8
8
  constructor(texelSize = new Vector2()) {
@@ -1512,7 +1512,7 @@ function setWireframeOverride(material, uniforms) {
1512
1512
  material.transparent = true;
1513
1513
  }
1514
1514
  function injectNgtsWireframeUniforms(uniformsFactory, stateFactory, { injector } = {}) {
1515
- injector = assertInjectionContext(injectNgtsWireframeUniforms, injector);
1515
+ injector = assertInjector(injectNgtsWireframeUniforms, injector);
1516
1516
  return runInInjectionContext(injector, () => {
1517
1517
  const uniforms = uniformsFactory();
1518
1518
  const state = computed(() => stateFactory());