diff --git a/n2spe826mj.js b/n2spe826mj.js new file mode 100644 index 0000000..1fc9ae9 --- /dev/null +++ b/n2spe826mj.js @@ -0,0 +1,22 @@ +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 \ No newline at end of file