Update: CC - SpoonLib - Mouse Wheel (opxis1pjmo.js) 11 bytes modified
parent
6992f30674
commit
349a83d66c
|
@ -12,20 +12,20 @@ if (!this.initialized) {
|
||||||
|
|
||||||
//this.animationSystem.stop();
|
//this.animationSystem.stop();
|
||||||
//this.animationSystem.start();
|
//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 {
|
||||||
this.cylinder.rotation.x -= 0.897597901;
|
this.cylinder.rotation.x -= 0.897597901;
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
this.cylinder.rotation.x += data.event.deltaY * 0.01;
|
|
||||||
|
|
||||||
GameLib.Event.Emit(GameLib.Event.MOUSE_UP);
|
//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.rotation.x += data.event.deltaY * 0.001;
|
||||||
//mesh.updateInstance('rotation');
|
//mesh.updateInstance('rotation');
|
||||||
|
|
||||||
//console.log(data);
|
//console.log(data);
|
||||||
|
|
||||||
//@ sourceURL=CustomCodeSpoonLibMouseScroll.js
|
//@ sourceURL=SpoonLibMouseWheel.js
|
Loading…
Reference in New Issue