Update: CC - SpoonLib - Mouse Wheel (opxis1pjmo.js) 118 bytes modified

beta.r3js.org
-=yb4f310 2018-01-17 11:38:39 +01:00
parent 766eeb7882
commit 2da7d01a96
1 changed files with 5 additions and 1 deletions

View File

@ -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 {