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