diff --git a/src/meshes/Gem.js b/src/components/meshes/Gem.js similarity index 96% rename from src/meshes/Gem.js rename to src/components/meshes/Gem.js index c533982..1e05486 100644 --- a/src/meshes/Gem.js +++ b/src/components/meshes/Gem.js @@ -8,8 +8,8 @@ import { RGBFormat, WebGLCubeRenderTarget, } from 'three'; -import Mesh from './Mesh.js'; -import { bindProp } from '../tools'; +import Mesh from '../../meshes/Mesh.js'; +import { bindProp } from '../../tools'; export default defineComponent({ extends: Mesh, diff --git a/src/meshes/MirrorMesh.js b/src/components/meshes/MirrorMesh.js similarity index 96% rename from src/meshes/MirrorMesh.js rename to src/components/meshes/MirrorMesh.js index 471ca43..bef5dd6 100644 --- a/src/meshes/MirrorMesh.js +++ b/src/components/meshes/MirrorMesh.js @@ -5,7 +5,7 @@ import { RGBFormat, WebGLCubeRenderTarget, } from 'three'; -import Mesh from './Mesh.js'; +import Mesh from '../../meshes/Mesh.js'; export default defineComponent({ extends: Mesh, diff --git a/src/meshes/RefractionMesh.js b/src/components/meshes/RefractionMesh.js similarity index 95% rename from src/meshes/RefractionMesh.js rename to src/components/meshes/RefractionMesh.js index 7d1adeb..891633c 100644 --- a/src/meshes/RefractionMesh.js +++ b/src/components/meshes/RefractionMesh.js @@ -6,8 +6,8 @@ import { RGBFormat, WebGLCubeRenderTarget, } from 'three'; -import Mesh from './Mesh.js'; -import { bindProp } from '../tools'; +import Mesh from '../../meshes/Mesh.js'; +import { bindProp } from '../../tools'; export default defineComponent({ extends: Mesh, diff --git a/src/meshes/index.js b/src/meshes/index.js index d984563..323110b 100644 --- a/src/meshes/index.js +++ b/src/meshes/index.js @@ -18,9 +18,6 @@ export { default as Torus } from './Torus.js'; export { default as TorusKnot } from './TorusKnot.js'; export { default as Tube } from './Tube.js'; -export { default as Gem } from './Gem.js'; export { default as Image } from './Image.js'; export { default as InstancedMesh } from './InstancedMesh.js'; -export { default as MirrorMesh } from './MirrorMesh.js'; -export { default as RefractionMesh } from './RefractionMesh.js'; export { default as Sprite } from './Sprite.js'; diff --git a/src/plugin.js b/src/plugin.js index b1a4352..cb84878 100644 --- a/src/plugin.js +++ b/src/plugin.js @@ -52,11 +52,8 @@ export const TroisJSVuePlugin = { 'TorusKnot', 'TorusKnotGeometry', 'Tube', 'TubeGeometry', - 'Gem', 'Image', 'InstancedMesh', - 'MirrorMesh', - 'RefractionMesh', 'Sprite', 'FBXModel',