Commit Graph

405 Commits

Author SHA1 Message Date
Haowei Wen f4d4aba706
Merge pull request #56 from bs-community/mixin
Refactor SkinViewer
2020-06-17 13:19:44 +08:00
yushijinhun 1be920f502
update examples 2020-06-17 11:15:52 +08:00
yushijinhun 68ee9181b7
bump skinview-utils to 0.5.3 2020-06-17 11:10:30 +08:00
Pig Fang 943d1d3c5a refactor constructor 2020-06-17 09:08:51 +08:00
yushijinhun de72de69f4
change target to es2017 2020-06-14 16:19:42 +08:00
yushijinhun d502e58918
update readme example 2020-06-14 16:05:47 +08:00
yushijinhun d86dda16bc
bump skinview-utils to 0.5.1 2020-06-14 15:45:36 +08:00
yushijinhun 0118d38a64
2.0.0-alpha.2 2020-05-29 16:53:53 +08:00
yushijinhun b31012a501
Update readme 2020-05-29 16:46:19 +08:00
yushijinhun 5b101d93af
code cleanup 2020-05-29 16:34:58 +08:00
yushijinhun e15ed531f1
Refactor SkinViewer 2020-05-29 15:45:09 +08:00
yushijinhun 2a0a030577
update dependencies (three-minifier => 0.1.7) 2020-05-29 15:41:29 +08:00
yushijinhun aa35202c65
update dependencies
@rollup/plugin-node-resolve is kept back due to https://github.com/yushijinhun/three-minifier/issues/7
2020-05-26 00:02:42 +08:00
yushijinhun 39af9967d7
Fix #55 2020-05-24 12:05:53 +08:00
yushijinhun ed22ce6953
Fix #48 2020-03-26 16:57:35 +08:00
Sean Boult 01ff365fd6 Update stories 2020-03-13 23:40:36 -05:00
Sean Boult 8e0f9959b1 Add storybook 2020-03-13 21:52:20 -05:00
Pig Fang 26c3f3d382
update GitHub Actions 2020-02-29 16:57:48 +08:00
yushijinhun 42278ee509
Make SkinViewer.disposed readonly 2020-02-01 20:44:10 +08:00
yushijinhun 872f012e42
polish 2020-02-01 20:43:02 +08:00
yushijinhun 8a474cbc8c
Add explicit function return types 2020-02-01 19:13:46 +08:00
Haowei Wen 9baa4d9989
Merge pull request #47 from bs-community/bundled
Bundle THREE.js in UMD build
2020-01-31 22:15:45 +08:00
yushijinhun 80d96a0ac9
update example 2020-01-31 08:50:30 +08:00
yushijinhun 23b856362f
remove OrbitControls 2020-01-31 08:46:43 +08:00
yushijinhun 743adb97b8
use three-minifier
599K -> 381K
2020-01-31 08:43:46 +08:00
yushijinhun 92abd67c8a
Remove dist/ & add bundles/ 2020-01-31 08:39:58 +08:00
yushijinhun 776c96a300
Rename jsm -> libs 2020-01-31 08:34:55 +08:00
yushijinhun f84f88251e
Extract doRender() so that subclasses can customize rendering 2020-01-31 01:39:36 +08:00
yushijinhun 1bcd8b50b1
Remove SkinViewerOptions.animation 2020-01-31 01:39:36 +08:00
yushijinhun 6c7ac2a8d2
Call setSize in constructor 2020-01-31 01:39:23 +08:00
yushijinhun d72b310772
Remove 'antialias: false' since it's disabled by default 2020-01-31 01:32:33 +08:00
yushijinhun e730edfaab
Fix z-fighting using polygonOffset
this commit fixes z-fighting between body2 and rightLeg2/leftLeg2
also removes esp

reference: https://sites.google.com/site/threejstuts/home/polygon_offset
2020-01-30 23:07:48 +08:00
yushijinhun 0cddbd51a8
Update examples 2020-01-27 19:03:42 +08:00
yushijinhun 0afb1151ec
2.0.0-alpha.1 2020-01-27 18:59:51 +08:00
Haowei Wen f485a3a026
Merge pull request #46 from bs-community/separate-esm
Include separate modules in build output
2020-01-26 22:10:33 +08:00
yushijinhun 5363e92822
Add .js extension to imports 2020-01-24 19:34:50 +08:00
yushijinhun 58364c82d2
Re-add UMD build 2020-01-24 01:28:24 +08:00
yushijinhun bc77816e67
Change target to es2015 2020-01-23 23:56:48 +08:00
yushijinhun 40f55a224c
Remove UMD build 2020-01-23 23:51:16 +08:00
yushijinhun 5badb4fcea
Include separate modules in build output
https://github.com/bs-community/skinview3d/pull/45#issuecomment-575554703
2020-01-23 02:59:08 +08:00
yushijinhun c2bd1aa0ce
fix warnings 2020-01-23 02:53:06 +08:00
yushijinhun ff24bcec58
Migrate to eslint 2020-01-23 02:15:02 +08:00
yushijinhun 92b8334e8e
run npm build on github ci 2020-01-23 02:00:11 +08:00
yushijinhun d65f8a2392
update dependencies 2020-01-23 01:57:41 +08:00
yushijinhun 7cb311c76d
remove commented code 2020-01-23 00:20:22 +08:00
yushijinhun 5fd72eefcf
use export * 2020-01-23 00:19:47 +08:00
yushijinhun 3af33ecda5
PlayerObject is visible by default when created 2020-01-22 16:04:20 +08:00
yushijinhun 4fa49974b0
PlayerObject constructor now takes Texture 2020-01-22 16:04:14 +08:00
Haowei Wen 5e16943ad2
Merge pull request #45 from bs-community/split-utils
Split utils.ts into a separate package
2020-01-19 18:21:30 +08:00
yushijinhun aa027ac12b
update skinview-utils to v0.2.0 2020-01-17 19:04:59 +08:00