Update: CC - SnailRunner - Mouse Move (8nu6b5p9pb.js) 107 bytes modified

beta.r3js.org
Theunis Johannes Botha 2018-03-07 16:19:45 +01:00
parent 7fc319562b
commit 8189b475a7
1 changed files with 3 additions and 0 deletions

View File

@ -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