Update: CC - SpoonLib - Mouse Wheel (opxis1pjmo.js) 14 bytes modified
parent
704ecec82d
commit
87552b7b0b
|
@ -9,9 +9,9 @@ if (!this.initialized) {
|
||||||
var mesh = GameLib.EntityManager.Instance.findComponentById('xtnu5j78bq');
|
var mesh = GameLib.EntityManager.Instance.findComponentById('xtnu5j78bq');
|
||||||
|
|
||||||
if (data.event.deltaY > 0) {
|
if (data.event.deltaY > 0) {
|
||||||
mesh.rotation.x += 0.89;
|
mesh.rotation.x += 0.897597901;
|
||||||
} else {
|
} else {
|
||||||
mesh.rotation.x -= 0.89;
|
mesh.rotation.x -= 0.897597901;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue