[feat] 3d loader

This commit is contained in:
kwaroran
2023-07-16 01:33:52 +09:00
parent cf617495f9
commit a14e8655ae
7 changed files with 126 additions and 1 deletions

13
src/ts/3d/threeload.ts Normal file
View 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,
};