r3-custom-code/arswdj0syh.js

22 lines
405 B
JavaScript

if (!this.entityLoaded) {
return;
}
if (!this.initialized) {
this.animationSystem = this.entityLoaded.animationSystem;
this.cylinder = this.entityLoaded.cylinder;
this.initialized = true;
}
if (this.animationSystem.started) {
return;
}
this.cylinder.rotation.x += data.event.movementY * 0.005;
this.cylinder.updateInstance('rotation');
//console.log(data);
//@ sourceURL=SpoonLibMouseMove.js