Skip to content

Commit

Permalink
fix: update npmignore
Browse files Browse the repository at this point in the history
  • Loading branch information
deepkolos committed Jan 24, 2021
1 parent 012b391 commit 936eac9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .npmignore
@@ -1 +1,3 @@
node_modules
node_modules
config
three
11 changes: 6 additions & 5 deletions README.md
Expand Up @@ -41,7 +41,7 @@ PLATFORM.dispose();
1. TextureLoader
2. RGBELoader & PMREMGenerator
3. SVGLoader
4. BASISLoader (working)
4. OBJLoader

#### Controls

Expand All @@ -52,6 +52,10 @@ PLATFORM.dispose();

0. ImageBitmapLoader(微信小程序无 ImageBitmap)

## 有支持可能,但需要单独适配

0. BasisTextureLoader(微信小程序的Worker不好转发,经测试安卓可在worker内使用WASM)

## 实现

构建时替换平台相关的 api 调用,转发到 PLATFORM 的引用,通过 PLATFORM.set 更新
Expand Down Expand Up @@ -86,9 +90,6 @@ PLATFORM.dispose();

## TODO

0. 适配陀螺仪
1. 适配头条小程序

## Bug

~~Blob 未完全适配,目前 gltf-loader 可加载 glb 文件(taobao 小程序 由于 API 没抄全,加载 glb 有问题)~~ 已修复,淘宝小程序也可以加载 GLB (v1.0.1)
### [CHANGELOG](https://github.com/deepkolos/three-platformize/blob/master/CHANGELOG.md)

0 comments on commit 936eac9

Please sign in to comment.