From 8c1c81bc943da734a436c07ba26f4a65aca58b27 Mon Sep 17 00:00:00 2001 From: Kevin Levron Date: Mon, 10 May 2021 19:01:54 +0200 Subject: [PATCH] rename models (fix #57) --- src/models/index.ts | 4 ++-- src/plugin.ts | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/models/index.ts b/src/models/index.ts index 64b9949..c7a438f 100644 --- a/src/models/index.ts +++ b/src/models/index.ts @@ -1,2 +1,2 @@ -export { default as GLTFModel } from './GLTF' -export { default as FBXModel } from './FBX' +export { default as GltfModel } from './GLTF' +export { default as FbxModel } from './FBX' diff --git a/src/plugin.ts b/src/plugin.ts index 5775915..5c3fbac 100644 --- a/src/plugin.ts +++ b/src/plugin.ts @@ -62,8 +62,8 @@ export const TroisJSVuePlugin = { 'Points', 'Sprite', - 'FBXModel', - 'GLTFModel', + 'FbxModel', + 'GltfModel', 'BokehPass', 'EffectComposer', @@ -77,8 +77,6 @@ export const TroisJSVuePlugin = { 'TiltShiftPass', 'UnrealBloomPass', 'ZoomBlurPass', - - 'GLTFViewer', ] comps.forEach(comp => {