From 349a83d66c52ab5d5ee67cb75bc6377cdde79385 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 17 Jan 2018 12:14:07 +0100 Subject: [PATCH] Update: CC - SpoonLib - Mouse Wheel (opxis1pjmo.js) 11 bytes modified --- opxis1pjmo.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/opxis1pjmo.js b/opxis1pjmo.js index 7e28181..b577fc8 100644 --- a/opxis1pjmo.js +++ b/opxis1pjmo.js @@ -12,20 +12,20 @@ if (!this.initialized) { //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); +//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'); //console.log(data); -//@ sourceURL=CustomCodeSpoonLibMouseScroll.js \ No newline at end of file +//@ sourceURL=SpoonLibMouseWheel.js \ No newline at end of file