blessing-skin-server/resources/assets/tests/__mocks__/skinview3d.js

27 lines
491 B
JavaScript
Raw Normal View History

2019-03-15 11:42:41 +08:00
/* eslint-disable max-classes-per-file */
2018-07-27 09:54:23 +08:00
export class SkinViewer {
2019-03-15 11:42:41 +08:00
constructor() {
this.animationPaused = false
this.camera = {
position: {},
2018-07-27 09:54:23 +08:00
}
2019-03-15 11:42:41 +08:00
}
2018-07-27 09:54:23 +08:00
2019-03-15 11:42:41 +08:00
dispose() {
this.disposed = true
}
2018-07-27 09:54:23 +08:00
}
export class CompositeAnimation {
2019-03-15 11:42:41 +08:00
add(animation) {
return animation
}
2018-07-27 09:54:23 +08:00
}
export function createOrbitControls() {}
2019-03-15 11:42:41 +08:00
export const WalkingAnimation = { paused: false }
export const RunningAnimation = { paused: false }
export const RotatingAnimation = { paused: false }