From ec9ea13b1aa69ff8b76c0d34fa0b1586e6efce77 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 16:19:46 +0100 Subject: [PATCH] Update: CC - SnailRunner - Mouse Move (8nu6b5p9pb.js) 107 bytes modified --- 8nu6b5p9pb.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/8nu6b5p9pb.js b/8nu6b5p9pb.js index 8833b86..386eadc 100644 --- a/8nu6b5p9pb.js +++ b/8nu6b5p9pb.js @@ -7,6 +7,9 @@ if (!this.initialized) { this.initialized = true; } +this.snail.position.z += data.event.movementX * data.delta * 0.01; +this.snail.updateInstance('position'); + console.log(data); //@ sourceURL=mouseMove.js \ No newline at end of file