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

beta.r3js.org
-=yb4f310 2018-01-17 11:57:30 +01:00
parent 2da7d01a96
commit 6130e9f110
1 changed files with 7 additions and 3 deletions

View File

@ -10,14 +10,18 @@ if (!this.initialized) {
this.initialized = true;
}
this.animationSystem.stop();
this.animationSystem.start();
//this.animationSystem.stop();
//this.animationSystem.start();
/*
if (data.event.deltaY > 0) {
this.cylinder.rotation.x += 0.897597901;
} else {
this.cylinder.rotation.x -= 0.897597901;
}
*/
this.cylinder.rotation.x += data.event.deltaY * 0.01;
GameLib.Event.Emit(GameLib.Event.MOUSE_UP);
//mesh.rotation.x += data.event.deltaY * 0.001;
//mesh.updateInstance('rotation');