From 9c9c39a6fe00c24d9c8b9f5d0c6af833c3631596 Mon Sep 17 00:00:00 2001 From: Kevin Levron Date: Mon, 28 Sep 2020 15:00:10 +0200 Subject: [PATCH] update plugin & exports --- src/meshes/index.js | 15 ++++++++++++++- src/plugin.js | 16 ++++++++++++++-- 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/src/meshes/index.js b/src/meshes/index.js index ba0ef3f..328ffa4 100644 --- a/src/meshes/index.js +++ b/src/meshes/index.js @@ -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'; diff --git a/src/plugin.js b/src/plugin.js index 1c39bbc..5e9538b 100644 --- a/src/plugin.js +++ b/src/plugin.js @@ -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',