Skip to content

Commit 605816e

Browse files
committed
feat: bump three 0.174
1 parent b444137 commit 605816e

File tree

10 files changed

+326
-233
lines changed

10 files changed

+326
-233
lines changed

libs/cannon/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"@pmndrs/cannon-worker-api": "^2.0.0",
2929
"cannon-es": ">=0.20.0 <0.21.0",
3030
"cannon-es-debugger": "^1.0.0",
31-
"three": ">=0.148.0 <0.174.0"
31+
"three": ">=0.156.0 <0.175.0"
3232
},
3333
"peerDependenciesMeta": {
3434
"cannon-es-debugger": {

libs/core/README.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,25 @@ import { extend } from 'angular-three';
2222
import { Mesh, BoxGeometry } from 'three';
2323

2424
extend({
25-
Mesh, // makes ngt-mesh available
26-
BoxGeometry, // makes ngt-box-geometry available
27-
/* ... */
28-
MyMesh: Mesh, // makes ngt-my-mesh available
25+
Mesh, // makes ngt-mesh available
26+
BoxGeometry, // makes ngt-box-geometry available
27+
/* ... */
28+
MyMesh: Mesh, // makes ngt-my-mesh available
2929
});
3030

3131
// alternatively for demo purposes, you can use the following
3232
// extend(THREE);
3333
// This includes the entire THREE.js namespace
3434

3535
@Component({
36-
selector: 'app-scene-graph',
37-
template: `
38-
<ngt-mesh>
39-
<ngt-box-geometry />
40-
</ngt-mesh>
41-
`,
42-
schemas: [CUSTOM_ELEMENTS_SCHEMA], // required
43-
changeDetection: ChangeDetectionStrategy.OnPush,
36+
selector: 'app-scene-graph',
37+
template: `
38+
<ngt-mesh>
39+
<ngt-box-geometry />
40+
</ngt-mesh>
41+
`,
42+
schemas: [CUSTOM_ELEMENTS_SCHEMA], // required
43+
changeDetection: ChangeDetectionStrategy.OnPush,
4444
})
4545
export class SceneGraph {}
4646
```
@@ -52,14 +52,14 @@ import { NgtCanvas } from 'angular-three/dom';
5252
import { SceneGraph } from './scene-graph';
5353

5454
@Component({
55-
// This Component is rendered normally in Angular.
56-
selector: 'app-my-experience',
57-
template: `
58-
<ngt-canvas>
59-
<app-scene-graph *canvasContent />
60-
</ngt-canvas>
61-
`,
62-
imports: [NgtCanvas],
55+
// This Component is rendered normally in Angular.
56+
selector: 'app-my-experience',
57+
template: `
58+
<ngt-canvas>
59+
<app-scene-graph *canvasContent />
60+
</ngt-canvas>
61+
`,
62+
imports: [NgtCanvas],
6363
})
6464
export class MyExperience {}
6565
```
@@ -72,6 +72,6 @@ export class MyExperience {}
7272
import { provideNgtRenderer } from 'angular-three/dom';
7373

7474
bootstrapApplication(AppComponent, {
75-
providers: [provideNgtRenderer()],
75+
providers: [provideNgtRenderer()],
7676
});
7777
```

libs/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"@angular/common": ">=19.0.0 <20.0.0",
2626
"@angular/core": ">=19.0.0 <20.0.0",
2727
"ngxtension": ">=3.0.0",
28-
"three": ">=0.156.0 <0.174.0"
28+
"three": ">=0.156.0 <0.175.0"
2929
},
3030
"dependencies": {
3131
"tslib": "^2.7.0"

libs/postprocessing/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"maath": ">=0.10.0 <0.11.0",
2828
"n8ao": ">=1.9.4 <2.0.0",
2929
"postprocessing": "^6.0.0",
30-
"three": ">=0.148.0 <0.174.0",
30+
"three": ">=0.156.0 <0.175.0",
3131
"three-stdlib": "^2.0.0"
3232
},
3333
"peerDependenciesMeta": {

libs/rapier/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"@angular/common": ">=19.0.0 <20.0.0",
2727
"@angular/core": ">=19.0.0 <20.0.0",
2828
"@dimforge/rapier3d-compat": "~0.14.0",
29-
"three": ">=0.148.0 <0.174.0",
29+
"three": ">=0.156.0 <0.175.0",
3030
"three-stdlib": "^2.0.0"
3131
},
3232
"dependencies": {

libs/soba/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"maath": ">=0.10.0 <0.11.0",
3636
"meshline": "^3.1.0",
3737
"stats-gl": ">=2.0.0",
38-
"three": ">=0.148.0 <0.174.0",
38+
"three": ">=0.156.0 <0.175.0",
3939
"three-custom-shader-material": ">=5.5.0 <6.4.0",
4040
"three-mesh-bvh": ">=0.5.0 <0.10.0",
4141
"three-stdlib": "^2.0.0",

libs/soba/src/materials/mesh-portal-material.stories.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,7 @@ type AOBoxGLTF = GLTF & {
3232
3333
<!-- A box with baked AO -->
3434
@if (gltf(); as gltf) {
35-
<ngt-mesh
36-
castShadow
37-
receiveShadow
38-
[rotation]="rotation()"
39-
[geometry]="gltf.nodes.Cube.geometry"
40-
>
35+
<ngt-mesh castShadow receiveShadow [rotation]="rotation()" [geometry]="gltf.nodes.Cube.geometry">
4136
<ngt-mesh-standard-material
4237
[aoMapIntensity]="1"
4338
[aoMap]="gltf.nodes.Cube.material.aoMap"

libs/tweakpane/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
"peerDependencies": {
2626
"@angular/common": ">=19.0.0 <20.0.0",
2727
"@angular/core": ">=19.0.0 <20.0.0",
28-
"three": ">=0.156.0 <0.174.0",
2928
"tweakpane": "^4.0.0"
3029
},
3130
"dependencies": {

0 commit comments

Comments
 (0)