Skip to content

Commit 909801c

Browse files
committed
docs(examples): clean up baking soft shadows demo
1 parent 7c6eab4 commit 909801c

File tree

1 file changed

+1
-7
lines changed
  • apps/examples/src/app/soba/baking-soft-shadows

1 file changed

+1
-7
lines changed

apps/examples/src/app/soba/baking-soft-shadows/scene.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ import * as THREE from 'three';
77
import { FlakesTexture, GLTF } from 'three-stdlib';
88
import 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
})
2519
export 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();

0 commit comments

Comments
 (0)