[feat] 3d loader
This commit is contained in:
13
src/ts/3d/threeload.ts
Normal file
13
src/ts/3d/threeload.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
const { Scene, PerspectiveCamera, WebGLRenderer, AmbientLight, DirectionalLight } = await import('three');
|
||||
const { MMDLoader } = await import('three/examples/jsm/loaders/MMDLoader')
|
||||
const { MMDAnimationHelper } = await import('three/examples/jsm/animation/MMDAnimationHelper');
|
||||
|
||||
export {
|
||||
Scene,
|
||||
PerspectiveCamera,
|
||||
WebGLRenderer,
|
||||
AmbientLight,
|
||||
DirectionalLight,
|
||||
MMDLoader,
|
||||
MMDAnimationHelper,
|
||||
};
|
||||
Reference in New Issue
Block a user