Update: CC - SpoonLib - Mouse Wheel (opxis1pjmo.js) 118 bytes modified
parent
766eeb7882
commit
2da7d01a96
|
@ -3,12 +3,16 @@ if (!this.entityLoaded) {
|
|||
}
|
||||
|
||||
if (!this.initialized) {
|
||||
|
||||
|
||||
this.animationSystem = this.entityLoaded.animationSystem;
|
||||
this.cylinder = this.entityLoaded.cylinder;
|
||||
|
||||
this.initialized = true;
|
||||
}
|
||||
|
||||
this.animationSystem.stop();
|
||||
this.animationSystem.start();
|
||||
|
||||
if (data.event.deltaY > 0) {
|
||||
this.cylinder.rotation.x += 0.897597901;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue