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

update plugin & exports

This commit is contained in:
Kevin Levron 2020-09-28 15:00:10 +02:00
parent 8bc88a2147
commit 9c9c39a6fe
2 changed files with 28 additions and 3 deletions

View File

@ -1,8 +1,21 @@
export { default as Box } from './Box.js';
export { default as Image } from './Image.js';
export { default as Circle } from './Circle.js';
export { default as Cone } from './Cone.js';
export { default as Cylinder } from './Cylinder.js';
export { default as Dodecahedron } from './Dodecahedron.js';
export { default as Icosahedron } from './Icosahedron.js';
export { default as Lathe } from './Lathe.js';
export { default as Octahedron } from './Octahedron.js';
export { default as Plane } from './Plane.js';
export { default as Polyhedron } from './Polyhedron.js';
export { default as Ring } from './Ring.js';
export { default as Sphere } from './Sphere.js';
export { default as Tetrahedron } from './Tetrahedron.js';
export { default as Text } from './Text.js';
export { default as Torus } from './Torus.js';
export { default as TorusKnot } from './TorusKnot.js';
export { default as Tube } from './Tube.js';
export { default as Image } from './Image.js';
export { default as InstancedMesh } from './InstancedMesh.js';
export { default as Sprite } from './Sprite.js';

View File

@ -25,15 +25,27 @@ export const TroisJSVuePlugin = {
'SubSurfaceMaterial',
'Box',
'Image',
'Circle',
'Cone',
'Cylinder',
'Dodecahedron',
'Icosahedron',
'Lathe',
'Octahedron',
'Plane',
'Polyhedron',
'Ring',
'Sphere',
'Tetrahedron',
'Text',
'Torus',
'TorusKnot',
'Tube',
'Image',
'InstancedMesh',
'Sprite',
// 'BloomPass',
'BokehPass',
'EffectComposer',
'FilmPass',