Skip to content

Commit 538a769

Browse files
committed
docs: port epoxy resin example
1 parent e7b4755 commit 538a769

File tree

4 files changed

+14507
-0
lines changed

4 files changed

+14507
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { ChangeDetectionStrategy, Component } from '@angular/core';
2+
import { NgtCanvas } from 'angular-three/dom';
3+
import { SceneGraph } from './scene';
4+
5+
@Component({
6+
template: `
7+
<ngt-canvas shadows orthographic [camera]="{ position: [10, 20, 20], zoom: 50 }">
8+
<app-scene-graph *canvasContent />
9+
</ngt-canvas>
10+
`,
11+
changeDetection: ChangeDetectionStrategy.OnPush,
12+
host: { class: 'epoxy-resin-soba-experience' },
13+
imports: [NgtCanvas, SceneGraph],
14+
})
15+
export default class EpoxyResin {}

0 commit comments

Comments
 (0)