1
0
mirror of https://github.com/troisjs/trois.git synced 2024-11-24 04:12:02 +08:00

update app example

This commit is contained in:
Kevin Levron 2021-05-01 12:27:09 +02:00
parent d47b82909c
commit 1c4acdc1e3

View File

@ -12,13 +12,7 @@
<script lang="ts"> <script lang="ts">
import { defineComponent } from 'vue' import { defineComponent } from 'vue'
import Box from './meshes/Box' import { Box, Camera, LambertMaterial, MeshInterface, PointLight, Renderer, RendererInterface, Scene } from './export'
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'
export default defineComponent({ export default defineComponent({
components: { Box, Camera, LambertMaterial, PointLight, Renderer, Scene }, components: { Box, Camera, LambertMaterial, PointLight, Renderer, Scene },