Commit Graph

24 Commits

Author SHA1 Message Date
yushijinhun c988c185ee
remove MouseControl in viewer.d.ts 2018-02-12 13:46:51 +08:00
621sama 0db8457441
Merge pull request #1 from yushijinhun/pr-12-mod
Remove MouseControl and use OrbitControls instead
2018-02-12 13:36:32 +08:00
printempw a0730f8da8 remove naturalSpeed property of animation function 2018-02-12 12:31:56 +08:00
yushijinhun c8b2901576
fixes 2018-02-12 11:15:17 +08:00
printempw 5b215cdcca update type definition of naturalSpeed 2018-02-12 10:39:20 +08:00
printempw 8f9127777e fix type definition of animation functions 2018-02-12 10:16:26 +08:00
yushijinhun b6533842b4
add ts defs for OrbitControls 2018-02-12 10:12:44 +08:00
printempw d9fa502cab expose properties instead of methods on `MouseControl` 2018-02-11 23:38:10 +08:00
printempw d27b9e6493 refactor animations
- update walking animation
- add running, rotating animation
- add natural speed for animations
2018-02-11 22:42:37 +08:00
printempw 8797cb6664 expose some methods for mouse control 2018-02-11 22:33:59 +08:00
printempw 2725925fe4 update `MouseControl` and remove event listener 2018-02-11 18:44:55 +08:00
yushijinhun ce1f58f4c6
sort members 2018-02-09 12:55:04 +08:00
yushijinhun 733e171316
remove `CompositeAnimation.handles` 2018-02-09 12:54:27 +08:00
yushijinhun 1ec9d098d9
change `AnimationHandle` to interface 2018-02-09 12:52:33 +08:00
yushijinhun 741dc9e3ef
export invokeAnimation() 2018-02-09 12:52:33 +08:00
yushijinhun 70c2b36339
change type of `SkinViewer.domElement` to `Node`
`Node` is enough for use
2018-02-09 12:52:33 +08:00
yushijinhun 14fabb3e02
add missing `public` modifiers 2018-02-09 12:52:33 +08:00
yushijinhun d86cfa4c87
move property `slim` from `PlayerObject` to `SkinObject` 2018-02-09 12:52:11 +08:00
yushijinhun 42959b63d7
format code 2018-02-09 12:29:42 +08:00
Pig Fang 141c983bc3 mark `handles` as private property 2018-02-05 18:45:15 +08:00
Pig Fang fcd7e58688 simplify types 2018-02-05 18:30:14 +08:00
Pig Fang c483ae33ee fix some types defs 2018-02-05 09:14:43 +08:00
Pig Fang 07e8cd58c6 add missing class fields 2018-02-04 23:23:27 +08:00
Pig Fang 82d72c82ec add TS types defs 2018-02-04 22:15:03 +08:00