if (!this.entityLoaded) { return; } if (!this.initialized) { this.cylinder = this.entityLoaded.cylinder; this.initialized = true; } if (data.event.deltaY > 0) { this.cylinder.rotation.x += 0.897597901; } else { this.cylinder.rotation.x -= 0.897597901; } //mesh.rotation.x += data.event.deltaY * 0.001; //mesh.updateInstance('rotation'); //console.log(data); //@ sourceURL=CustomCodeSpoonLibMouseScroll.js