Commit Graph

85 Commits

Author SHA1 Message Date
yushijinhun ff24bcec58
Migrate to eslint 2020-01-23 02:15:02 +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
yushijinhun aa027ac12b
update skinview-utils to v0.2.0 2020-01-17 19:04:59 +08:00
yushijinhun f4565bc99b
Remove tests, they are going to skinview-utils 2020-01-16 20:25:20 +08:00
yushijinhun 0721ac3e76
use @yushijinhun/skinview-utils 2020-01-11 21:26:58 +08:00
yushijinhun f969e7dbe0
Drop namespace THREE
Co-authored-by: Shirasawa <764798966@qq.com>
2020-01-01 17:18:06 +08:00
yushijinhun 2f304996ae
Revert "Merge remote-tracking branch 'ShirasawaSama/master'"
This reverts commit 9f6017d14c, reversing
changes made to db1884e782.

This reverts #41.
2020-01-01 16:46:54 +08:00
yushijinhun acda22d0e4
Merge branch 'v1.2.x' 2020-01-01 16:03:27 +08:00
yushijinhun cb1f00dd17
Remove access to renderer context 2020-01-01 15:55:17 +08:00
yushijinhun 298cce4554
Drop namespace THREE, use submodules
Co-authored-by: Shirasawa <764798966@qq.com>
2020-01-01 01:43:12 +08:00
yushijinhun db1884e782
Merge branch 'animation-refactor' 2020-01-01 00:34:00 +08:00
yushijinhun f9d7a9185c
add missing type definition 2019-12-28 21:14:45 +08:00
yushijinhun b5593d1943
Add renderPaused property, closing #42 2019-12-27 19:04:32 +08:00
Pig Fang 1121ee4c09 upgrade dependencies 2019-12-26 10:57:27 +08:00
Pig Fang 4bfe27cecc
`==` -> `===` 2019-12-23 18:15:04 +08:00
yushijinhun 3123646db7
Add exports 2019-12-22 20:42:04 +08:00
yushijinhun 127d2ee7a3
Full refactor of animation control 2019-12-22 20:19:33 +08:00
yushijinhun 9f7b94a1a2
Fix lint error 2019-12-22 18:34:30 +08:00
yushijinhun 4b93760f1b
Fix style 2019-05-02 16:33:13 +08:00
yushijinhun 0103e81b8e
Replace AnimationHandle.pause with speed 2019-04-21 00:07:20 +08:00
yushijinhun 5992d3e68d
Replace animationPaused with animationSpeed 2019-04-20 23:54:04 +08:00
yushijinhun 0c8a8b627a
Add names to objects 2019-04-20 22:08:49 +08:00
yushijinhun 82711d9de1
Simplify constructor of BodyPart 2018-10-20 22:28:58 +08:00
yushijinhun 2b5f664f9e
Change write-only properties to methods 2018-10-20 22:11:43 +08:00
yushijinhun a495e0f629
Fix syntax 2018-10-20 15:40:52 +08:00
yushijinhun 97d892d10b
Allow visibilities of skin layers to be set separately, implement #32 2018-10-20 15:32:56 +08:00
yushijinhun b1125175be
Make model properties readonly 2018-08-17 12:56:13 +08:00
yushijinhun c067541cc6
Turn AnimationHandle into an interface 2018-08-17 12:50:38 +08:00
yushijinhun e78138b856
Support IAnimation in invokeAnimation 2018-08-17 12:15:02 +08:00
yushijinhun 6477c7c707
Add SkinViewerOptions 2018-08-17 12:05:17 +08:00
yushijinhun 96286ee9ea
Remove some comments 2018-08-17 11:55:46 +08:00
yushijinhun 00d26b76d7
Fix codestyle 2018-08-16 20:09:23 +08:00
yushijinhun 58cb2e705a
Add type def to utils.ts 2018-08-16 20:04:42 +08:00
yushijinhun 0545117c51
Fix options.detectModel not working 2018-08-16 19:35:16 +08:00
yushijinhun 07c927952c
Specify param type of createOrbitControls 2018-08-16 19:28:03 +08:00
yushijinhun 204420dab9
Move modelListeners initialization to field declaration 2018-08-16 19:23:49 +08:00
yushijinhun 11d0b93723
Move 'export' to where the variable is defined 2018-08-16 19:07:46 +08:00
Pig Fang d3a2fe473f Fix lint errors 2018-08-06 18:15:18 +08:00
Pig Fang 524f84b0af Fix TS errors 2018-08-01 21:51:52 +08:00
Pig Fang 12e1a890ed Enable strict mode 2018-08-01 18:01:58 +08:00
Pig Fang 234be5df90 Update type of "AnimationFn" 2018-08-01 17:47:09 +08:00
Hacksore 179bcd7577 Remove comment as modelListeners this to finish initialization
Based on yushijinhun's feedback from comment 3feb9cf9f6 (r29788700)
2018-07-21 09:38:02 -05:00
Sean Boult 16d0e8f8ea Fix many linting issues 2018-07-21 07:52:02 -05:00
Sean Boult 3feb9cf9f6 No longer need to check _slim
It's a property with false as the default value within the  SkinObject class
2018-07-20 22:41:12 -05:00
Sean Boult b2932c96bb Working transpiling via "npm run buildtest" command
There is an issue witht the slim detection causing standard arms to load incorrectly, likely something caused by moving object properties around
2018-07-20 22:07:52 -05:00
Sean Boult e6be73fc9d Add back in the main entry point content 2018-07-17 13:58:27 -05:00
Sean Boult a48f935f06 First pass at conversion to Typescript 2018-07-17 13:49:00 -05:00