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.
- package/abstractions/index.d.ts +4 -0
- package/abstractions/lib/catmull-rom-line/catmull-rom-line.d.ts +15 -0
- package/abstractions/lib/cubic-bezier-line/cubic-bezier-line.d.ts +15 -0
- package/abstractions/lib/line/line-input.d.ts +19 -0
- package/abstractions/lib/line/line.d.ts +21 -0
- package/abstractions/lib/quadratic-bezier-line/quadratic-bezier-line.d.ts +19 -0
- package/abstractions/lib/text/text.d.ts +1 -1
- package/esm2020/abstractions/index.mjs +5 -1
- package/esm2020/abstractions/lib/billboard/billboard.mjs +6 -5
- package/esm2020/abstractions/lib/catmull-rom-line/catmull-rom-line.mjs +119 -0
- package/esm2020/abstractions/lib/cubic-bezier-line/cubic-bezier-line.mjs +98 -0
- package/esm2020/abstractions/lib/gizmo-helper/gizmo-helper.mjs +6 -6
- package/esm2020/abstractions/lib/line/line-input.mjs +75 -0
- package/esm2020/abstractions/lib/line/line.mjs +136 -0
- package/esm2020/abstractions/lib/quadratic-bezier-line/quadratic-bezier-line.mjs +127 -0
- package/esm2020/abstractions/lib/text/text.mjs +28 -26
- package/esm2020/cameras/lib/orthographic-camera/orthographic-camera.mjs +6 -6
- package/esm2020/cameras/lib/perspective-camera/perspective-camera.mjs +6 -6
- package/esm2020/performance/lib/detailed/detailed.mjs +6 -5
- package/esm2020/staging/lib/accumulative-shadows/accumulative-shadows.mjs +8 -8
- package/esm2020/staging/lib/accumulative-shadows/randomized-lights.mjs +6 -6
- package/esm2020/staging/lib/bounds/bounds.mjs +6 -5
- package/esm2020/staging/lib/center/center.mjs +10 -9
- package/esm2020/staging/lib/cloud/cloud.mjs +6 -6
- package/esm2020/staging/lib/contact-shadows/contact-shadows.mjs +14 -10
- package/esm2020/staging/lib/environment/environment-portal.mjs +10 -6
- package/esm2020/staging/lib/float/float.mjs +6 -5
- package/esm2020/staging/lib/sky/sky.mjs +23 -22
- package/esm2020/staging/lib/sparkles/sparkles.mjs +8 -8
- package/esm2020/staging/lib/stage/stage.mjs +2 -5
- package/esm2020/staging/lib/stars/stars.mjs +6 -6
- package/fesm2015/angular-three-soba-abstractions.mjs +564 -38
- package/fesm2015/angular-three-soba-abstractions.mjs.map +1 -1
- package/fesm2015/angular-three-soba-cameras.mjs +9 -9
- package/fesm2015/angular-three-soba-cameras.mjs.map +1 -1
- package/fesm2015/angular-three-soba-performance.mjs +5 -4
- package/fesm2015/angular-three-soba-performance.mjs.map +1 -1
- package/fesm2015/angular-three-soba-staging.mjs +83 -74
- package/fesm2015/angular-three-soba-staging.mjs.map +1 -1
- package/fesm2020/angular-three-soba-abstractions.mjs +564 -38
- package/fesm2020/angular-three-soba-abstractions.mjs.map +1 -1
- package/fesm2020/angular-three-soba-cameras.mjs +9 -9
- package/fesm2020/angular-three-soba-cameras.mjs.map +1 -1
- package/fesm2020/angular-three-soba-performance.mjs +5 -4
- package/fesm2020/angular-three-soba-performance.mjs.map +1 -1
- package/fesm2020/angular-three-soba-staging.mjs +83 -74
- package/fesm2020/angular-three-soba-staging.mjs.map +1 -1
- package/package.json +3 -3
- package/plugin/package.json +1 -1
- package/staging/lib/sky/sky.d.ts +2 -3
- 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.
|
|
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
|
-
"
|
|
34
|
-
"
|
|
33
|
+
"rxjs": "7.8.0",
|
|
34
|
+
"@rx-angular/state": "1.7.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@nrwl/devkit": "^15.0.0",
|
package/plugin/package.json
CHANGED
package/staging/lib/sky/sky.d.ts
CHANGED
|
@@ -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
|
|
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;
|
|
63
|
+
center: import("three").Vector3;
|
|
64
64
|
verticalAlignment: number;
|
|
65
65
|
horizontalAlignment: number;
|
|
66
66
|
depthAlignment: number;
|