angular-three-soba 1.4.0 → 1.6.0-beta.0

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 (51) hide show
  1. package/abstractions/index.d.ts +4 -0
  2. package/abstractions/lib/catmull-rom-line/catmull-rom-line.d.ts +15 -0
  3. package/abstractions/lib/cubic-bezier-line/cubic-bezier-line.d.ts +15 -0
  4. package/abstractions/lib/line/line-input.d.ts +19 -0
  5. package/abstractions/lib/line/line.d.ts +21 -0
  6. package/abstractions/lib/quadratic-bezier-line/quadratic-bezier-line.d.ts +19 -0
  7. package/abstractions/lib/text/text.d.ts +1 -1
  8. package/esm2020/abstractions/index.mjs +5 -1
  9. package/esm2020/abstractions/lib/billboard/billboard.mjs +6 -5
  10. package/esm2020/abstractions/lib/catmull-rom-line/catmull-rom-line.mjs +119 -0
  11. package/esm2020/abstractions/lib/cubic-bezier-line/cubic-bezier-line.mjs +98 -0
  12. package/esm2020/abstractions/lib/gizmo-helper/gizmo-helper.mjs +6 -6
  13. package/esm2020/abstractions/lib/line/line-input.mjs +75 -0
  14. package/esm2020/abstractions/lib/line/line.mjs +136 -0
  15. package/esm2020/abstractions/lib/quadratic-bezier-line/quadratic-bezier-line.mjs +127 -0
  16. package/esm2020/abstractions/lib/text/text.mjs +28 -26
  17. package/esm2020/cameras/lib/orthographic-camera/orthographic-camera.mjs +6 -6
  18. package/esm2020/cameras/lib/perspective-camera/perspective-camera.mjs +6 -6
  19. package/esm2020/performance/lib/detailed/detailed.mjs +6 -5
  20. package/esm2020/staging/lib/accumulative-shadows/accumulative-shadows.mjs +8 -8
  21. package/esm2020/staging/lib/accumulative-shadows/randomized-lights.mjs +6 -6
  22. package/esm2020/staging/lib/bounds/bounds.mjs +6 -5
  23. package/esm2020/staging/lib/center/center.mjs +10 -9
  24. package/esm2020/staging/lib/cloud/cloud.mjs +6 -6
  25. package/esm2020/staging/lib/contact-shadows/contact-shadows.mjs +14 -10
  26. package/esm2020/staging/lib/environment/environment-portal.mjs +10 -6
  27. package/esm2020/staging/lib/float/float.mjs +6 -5
  28. package/esm2020/staging/lib/sky/sky.mjs +23 -22
  29. package/esm2020/staging/lib/sparkles/sparkles.mjs +8 -8
  30. package/esm2020/staging/lib/stage/stage.mjs +2 -5
  31. package/esm2020/staging/lib/stars/stars.mjs +6 -6
  32. package/fesm2015/angular-three-soba-abstractions.mjs +564 -38
  33. package/fesm2015/angular-three-soba-abstractions.mjs.map +1 -1
  34. package/fesm2015/angular-three-soba-cameras.mjs +9 -9
  35. package/fesm2015/angular-three-soba-cameras.mjs.map +1 -1
  36. package/fesm2015/angular-three-soba-performance.mjs +5 -4
  37. package/fesm2015/angular-three-soba-performance.mjs.map +1 -1
  38. package/fesm2015/angular-three-soba-staging.mjs +83 -74
  39. package/fesm2015/angular-three-soba-staging.mjs.map +1 -1
  40. package/fesm2020/angular-three-soba-abstractions.mjs +564 -38
  41. package/fesm2020/angular-three-soba-abstractions.mjs.map +1 -1
  42. package/fesm2020/angular-three-soba-cameras.mjs +9 -9
  43. package/fesm2020/angular-three-soba-cameras.mjs.map +1 -1
  44. package/fesm2020/angular-three-soba-performance.mjs +5 -4
  45. package/fesm2020/angular-three-soba-performance.mjs.map +1 -1
  46. package/fesm2020/angular-three-soba-staging.mjs +83 -74
  47. package/fesm2020/angular-three-soba-staging.mjs.map +1 -1
  48. package/package.json +3 -3
  49. package/plugin/package.json +1 -1
  50. package/staging/lib/sky/sky.d.ts +2 -3
  51. package/staging/lib/stage/stage.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "angular-three-soba",
3
- "version": "1.4.0",
3
+ "version": "1.6.0-beta.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -30,8 +30,8 @@
30
30
  "troika-three-text": "^0.47.0",
31
31
  "@storybook/addons": "6.5.16",
32
32
  "@storybook/theming": "6.5.16",
33
- "@rx-angular/state": "1.7.0",
34
- "rxjs": "7.8.0"
33
+ "rxjs": "7.8.0",
34
+ "@rx-angular/state": "1.7.0"
35
35
  },
36
36
  "dependencies": {
37
37
  "@nrwl/devkit": "^15.0.0",
@@ -6,5 +6,5 @@
6
6
  },
7
7
  "main": "./src/index.js",
8
8
  "types": "./src/index.d.ts",
9
- "version": "1.4.0"
9
+ "version": "1.6.0-beta.0"
10
10
  }
@@ -1,10 +1,9 @@
1
- import { OnInit } from '@angular/core';
2
1
  import { NgtRxStore } from 'angular-three';
3
2
  import { Vector3 } from 'three';
4
3
  import { Sky } from 'three-stdlib';
5
4
  import * as i0 from "@angular/core";
6
5
  export declare function calcPosFromAngles(inclination: number, azimuth: number, vector?: Vector3): Vector3;
7
- export declare class NgtsSky extends NgtRxStore implements OnInit {
6
+ export declare class NgtsSky extends NgtRxStore {
8
7
  skyRef: import("angular-three").NgtInjectedRef<Sky>;
9
8
  set distance(distance: number);
10
9
  set sunPosition(sunPosition: THREE.Vector3 | Parameters<THREE.Vector3['set']>);
@@ -14,8 +13,8 @@ export declare class NgtsSky extends NgtRxStore implements OnInit {
14
13
  set mieDirectionalG(mieDirectionalG: number);
15
14
  set rayleigh(rayleigh: number);
16
15
  set turbidity(turbidity: number);
16
+ readonly sky: Sky;
17
17
  initialize(): void;
18
- ngOnInit(): void;
19
18
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtsSky, never>;
20
19
  static ɵcmp: i0.ɵɵComponentDeclaration<NgtsSky, "ngts-sky", never, { "skyRef": "skyRef"; "distance": "distance"; "sunPosition": "sunPosition"; "inclination": "inclination"; "azimuth": "azimuth"; "mieCoefficient": "mieCoefficient"; "mieDirectionalG": "mieDirectionalG"; "rayleigh": "rayleigh"; "turbidity": "turbidity"; }, {}, never, never, true, never>;
21
20
  }
@@ -60,7 +60,7 @@ export declare class NgtsStage extends NgtRxStore<NgtsStageProps> {
60
60
  depth: number;
61
61
  boundingBox: import("three").Box3;
62
62
  boundingSphere: import("three").Sphere;
63
- center: import("three").Vector3; /** Optionally wraps and thereby centers the models using <Bounds>, can also be a margin, default: true */
63
+ center: import("three").Vector3;
64
64
  verticalAlignment: number;
65
65
  horizontalAlignment: number;
66
66
  depthAlignment: number;