mirror of
https://github.com/troisjs/trois.git
synced 2024-11-23 20:02:32 +08:00
update app example
This commit is contained in:
parent
d47b82909c
commit
1c4acdc1e3
@ -12,13 +12,7 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue'
|
||||
import Box from './meshes/Box'
|
||||
import Camera from './core/PerspectiveCamera'
|
||||
import LambertMaterial from './materials/LambertMaterial'
|
||||
import { MeshInterface } from './meshes/Mesh'
|
||||
import PointLight from './lights/PointLight'
|
||||
import Renderer, { RendererInterface } from './core/Renderer'
|
||||
import Scene from './core/Scene'
|
||||
import { Box, Camera, LambertMaterial, MeshInterface, PointLight, Renderer, RendererInterface, Scene } from './export'
|
||||
|
||||
export default defineComponent({
|
||||
components: { Box, Camera, LambertMaterial, PointLight, Renderer, Scene },
|
||||
|
Loading…
Reference in New Issue
Block a user