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';
77import { FlakesTexture , GLTF } from 'three-stdlib' ;
88import suziGLTF from './suzi.gltf' ;
99
10- interface SuziGLTF extends GLTF {
11- materials : {
12- default : THREE . MeshStandardMaterial ;
13- } ;
14- }
15-
1610@Component ( {
1711 selector : 'app-suzi' ,
1812 template : `
@@ -24,7 +18,7 @@ interface SuziGLTF extends GLTF {
2418} )
2519export class Suzi {
2620 options = input < Partial < NgtThreeElements [ 'ngt-group' ] > > ( { } ) ;
27- protected gltf = injectGLTF < SuziGLTF > ( ( ) => suziGLTF ) ;
21+ protected gltf = injectGLTF < GLTF & { materials : { default : THREE . MeshStandardMaterial } } > ( ( ) => suziGLTF ) ;
2822
2923 protected scene = computed ( ( ) => {
3024 const gltf = this . gltf ( ) ;
You can’t perform that action at this time.
0 commit comments