File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
apps/examples/src/app/soba/baking-soft-shadows Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,6 @@ import * as THREE from 'three';
7
7
import { FlakesTexture , GLTF } from 'three-stdlib' ;
8
8
import suziGLTF from './suzi.gltf' ;
9
9
10
- interface SuziGLTF extends GLTF {
11
- materials : {
12
- default : THREE . MeshStandardMaterial ;
13
- } ;
14
- }
15
-
16
10
@Component ( {
17
11
selector : 'app-suzi' ,
18
12
template : `
@@ -24,7 +18,7 @@ interface SuziGLTF extends GLTF {
24
18
} )
25
19
export class Suzi {
26
20
options = input < Partial < NgtThreeElements [ 'ngt-group' ] > > ( { } ) ;
27
- protected gltf = injectGLTF < SuziGLTF > ( ( ) => suziGLTF ) ;
21
+ protected gltf = injectGLTF < GLTF & { materials : { default : THREE . MeshStandardMaterial } } > ( ( ) => suziGLTF ) ;
28
22
29
23
protected scene = computed ( ( ) => {
30
24
const gltf = this . gltf ( ) ;
You can’t perform that action at this time.
0 commit comments